xamarin / xamarin-macios

.NET for iOS, Mac Catalyst, macOS, and tvOS provide open-source bindings of the Apple SDKs for use with .NET managed languages such as C#
Other
2.49k stars 515 forks source link

[dotnet] P4 runtime issue tracking #11222

Closed spouliot closed 3 years ago

spouliot commented 3 years ago

Updating from P3

PR#11127

Fixes

PR was automatically merged (CI error since it has not run the tests) -> reverted

PR#11175

PR#11175 was merged in main and became the base for release/6.0.1xx-preview4

Keeping issue open as we can get more P4 bumps (in both branches)

PR#11314 unmerged, blocked by test failures MERGED

PR#11426 MERGED

PR#11443

spouliot commented 3 years ago

app builds fails for missing symbols hiding previous link sdk issue

The native libraries are not copied into obj so they are not linked to the final executable - so we're left with undefined symbols, which breaks the build.

On preview 4

09:29:32.6206100                              /Users/poupou/git/main/xamarin-macios/tests/dotnet/packages/microsoft.netcore.app.runtime.mono.iossimulator-x64/6.0.0-preview.4.21213.3/runtimes/iossimulator-x64/native/libSystem.Net.Security.Native.a
09:29:32.6206150                                      AssemblyVersion=
09:29:32.6206320                                      AssetType=native
09:29:32.6206380                                      CopyLocal=true
09:29:32.6206420                                      DestinationSubPath=libSystem.Net.Security.Native.a
09:29:32.6206470                                      DropFromSingleFile=true
09:29:32.6206520                                      FileVersion=0.0.0.0
09:29:32.6206560                                      IsTrimmable=true
09:29:32.6206620                                      NuGetPackageId=Microsoft.NETCore.App.Runtime.Mono.iossimulator-x64
09:29:32.6206660                                      NuGetPackageVersion=6.0.0-preview.4.21213.3
09:29:32.6206710                                      PublicKeyToken=
09:29:32.6206760                                      RuntimeIdentifier=iossimulator-x64

On preview 3

DropFromSingleFile=
IsTrimmable=

Fixed with https://github.com/xamarin/xamarin-macios/pull/11175/commits/106defd7ae065a40bb32356c19f00d4197b39c87

rolfbjarne commented 3 years ago

@spouliot any reason we can't close this now? P4 should be good to go.

spouliot commented 3 years ago

@rolfbjarne waiting for the public release, just in case a last minute bump was requested

spouliot commented 3 years ago

https://devblogs.microsoft.com/dotnet/announcing-net-6-preview-4/