-
Notifications
You must be signed in to change notification settings - Fork 167
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Target .NET 6 #2906
Target .NET 6 #2906
Conversation
# Conflicts: # Tools/SetupUnityPackage/CommandLineOptions/RealmOptions.cs # wrappers/build-ios.ps1 # wrappers/build-ios.sh
Pull Request Test Coverage Report for Build 2190169135
💛 - Coveralls |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks like we have a failing test for string.Contains - likely due to now having that in the BCL. You'll probably need to #ifdef the StringExtenstions.Contains
method as well as have the expression visitor use the system type instead.
retention-days: 1 | ||
ios: | ||
runs-on: macos-latest | ||
name: iOS XCframework |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Are we no longer producing an xcframework?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No, we ship the device framework under runtimes/ios
and the simulator framework under runtimes/iossimulator
.
<PackagePath>contentFiles\any\xamarinios\$(AssemblyName).dll.config</PackagePath> | ||
<PackageCopyToOutput>true</PackageCopyToOutput> | ||
</Content> | ||
<Content Include="wrappers-props\xamarinios\wrappers.props" Pack="true" PackagePath="build\xamarinios\Realm.props" /> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is build/xamarinios
the folder being used both for Xamarin.iOS and net6-ios TFMs?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No, it's only the Xamarin.iOS TFM that uses it.
ec5189b
to
4accfac
Compare
Update our NuGet package with support for
net6-android
andnet6-ios
runtimes:runtimes/ios/native
andruntimes/iossimulator/native
, respectively.runtimes/android-${ABI}/native
.realm-wrappers.framework
binary at runtime. .NET 6 introduces theNativeLibrary
API that allows native library resolution to be controlled at runtime.monoandroid
,xamarinios
,xamarinmac
, andnet461
. Everything else relies on NuGet to resolve runtime-specific binaries from the rightruntimes
folder.