.NET 7.0.100 RC 2 - Xcode 14 (1271)
Pre-release
Pre-release
·
3113 commits
to main
since this release
We're excited to announce our second preview release for .NET 7 for iOS and tvOS!
Note: these are the base SDKs that add support for the platforms in question, for MAUI (which is built on top of our SDKs), go here instead: https://docs.microsoft.com/en-us/dotnet/maui/.
This release consists of the following versions:
- iOS: 16.0.1271-rc.2-xcode14
- tvOS: 16.0.1271-rc.2-xcode14
Full release notes:
- .NET 7: https://github.com/xamarin/xamarin-macios/wiki/.NET-7-release-notes
- Xcode 14: https://github.com/xamarin/xamarin-macios/wiki/.NET-release-notes-Xcode-14.0
Known issues: https://github.com/xamarin/xamarin-macios/wiki/Known-issues-in-.NET7
What's Changed
See https://github.com/xamarin/xamarin-macios/wiki/.NET-release-notes-Xcode-14.0 for what's changed relative to support for Xcode 14.
- Remove duplicated SceneKitAsset declarations by @J-Swift in #15665
- [msbuild] Unify the CreateEmbeddedResources task between iOS and Mac. by @rolfbjarne in #15500
- [dotnet] Make it possible to specify the registrar using a 'Registrar' property in MSBuild. by @rolfbjarne in #15483
- Nullability annotations on NSUrl by @Therzok in #15356
- Fix #9996 and #15622 by @janwiebe-jump in #15642
- [runtime] Allow
IntPtr
for native objects in the dynamic registrar. Fixes #15708 by @spouliot in #15712 - Fixed remote archiving with iOS app extensions by @mauroa in #15726
- [msbuild] Unify the DetectSigningIdentity task between iOS and Mac. by @rolfbjarne in #15698
- [AutomaticAssessmentConfiguration] Updates for Xcode14 Beta5 by @tj-devel709 in #15742
- [dotnet] Honor existing values for BuildIpa and CreatePackage. Fixes #15696. by @rolfbjarne in #15697
- [msbuild] Automatically detect any Entitlements.plist files in the root project in .NET. by @rolfbjarne in #15729
- [msbuild] Fix the FindAotCompiler task for .NET 7. by @rolfbjarne in #15759
- [runtime] Add some debugging aid to xamarin_release_managed_ref. by @rolfbjarne in #15767
- [dotnet] macOS/MacCatalyst Archive and publishing support by @emaf in #15720
- [UIKit] Wrap the call to UIApplicationMain in a @try/@catch handler. by @rolfbjarne in #15746
- [.NET/CoreMidi] Use [UnmanagedCallersOnly] instead of [MonoPInvokeCallback] Partial Fix for #10470 by @stephen-hawley in #15774
- [msbuild] Remove the Xamarin.*.Task.Core assemblies. by @rolfbjarne in #15768
- Add 'None' build action to ObjC binding items by @mauroa in #15797
- [dotnet] Make relase builds for desktop universal by default. Fixes #15620. by @rolfbjarne in #15769
- [UIKit] Add Preferred Content Size Wrapper by @haritha-mohan in #15800
- [runtime] Use a custom native -> managed trampoline for calling NSObject.InvokeConformsToProtocol from the generated static registrar code. by @rolfbjarne in #15830
- [UIkit] Add generic callbacks for UIGestureRecognizer by @haritha-mohan in #15846
- [Runtime] Fix comparing a pointer to a UTF8 string with a managed string with embedded nulls. by @rolfbjarne in #15854
- [.NET/AudioUnit] Use [UnmanagedCallersOnly] instead of [MonoPInvokeCallback] Partial Fix for #10470 by @stephen-hawley in #15808
- [msbuild] Add additional app extensions to the list of items we need to sign. Fixes #15598. by @rolfbjarne in #15829
- [msbuild] Make sure '_AppBundlePath' is always relative. Fixes #15130. by @rolfbjarne in #15868
- [dotnet] Fix issue with frameworks with dots. Fixes #15727. by @rolfbjarne in #15872
- [msbuild] Compute _AppContainerDir from AppBundleDir if AppBundleDir is set by the developer. Fixes #15014. by @rolfbjarne in #15869
- [dotnet] Implement support for building net6.0-* apps with .NET 7. Fixes #15672. by @vs-mobiletools-engineering-service2 in #15785
- [CoreCLR] Handle ref/out enum values as parameters. Fixes #15744. by @rolfbjarne in #15870
- [.NET/CoreFoundation] Use [UnmanagedCallersOnly] instead of [MonoPInvokeCallback] Partial Fix for #10470 by @stephen-hawley in #15879
- [msbuild] Take the .NET version into account when computing the illink.dll location. by @rolfbjarne in #15876
- [UIKit] Add nullability to file by @haritha-mohan in #15857
- [runtime] Store assemblies' MVID in the generated static registrar code. by @rolfbjarne in #15795
- [.NET/CoreVideo] Use [UnmanagedCallersOnly] instead of [MonoPInvokeCallback] Partial Fix for #10470 by @stephen-hawley in #15892
- [msbuild] Add support for keeping temporary output when looking for AOT compilers. by @rolfbjarne in #15884
- [dotnet] Add binding templates for tvOS and macOS. Fixes #15839. by @rolfbjarne in #15921
- [.NET/CoreGraphics] Use [UnmanagedCallersOnly] instead of [MonoPInvokeCallback] Partial Fix for #10470 by @stephen-hawley in #15906
- [msbuild] Only require a provisioning profile if we have non-empty entitlements. by @rolfbjarne in #15918
- [msbuild] Hot Restart fixes by @vs-mobiletools-engineering-service2 in #16005
- [mtouch] Automatically disable bitcode if using Xcode 14+. Fixes #15210. by @vs-mobiletools-engineering-service2 in #16053
- Fix selectors from submission tests by @chamons in #16046
- [msbuild] Add a public 'CompileImageAssetsDependsOn' property. Fixes #16065. by @vs-mobiletools-engineering-service2 in #16111
- [dotnet] Don't try to collect RID-specific items to codesign unless we're connected to (or building on) a Mac. by @vs-mobiletools-engineering-service2 in #16155
- [dotnet] Don't try to ILStrip assemblies unless we're connected to a Mac. by @vs-mobiletools-engineering-service2 in #16162
- [msbuild] Make DetectSigningIdentity.CodesignEntitlements an ITaskItem property. by @vs-mobiletools-engineering-service2 in #16175
- [ShareWithYou] Fix linker problem due to a bad yy. Fixes #16084 by @vs-mobiletools-engineering-service2 in #16184
- Disable objc_msgSend stubs in clang. Fixes #16223. by @vs-mobiletools-engineering-service2 in #16232
- [UIKit] Change UITextInput.SelectedTextRange to not be ArgumentSemantic.Copy. Fixes #15677. by @vs-mobiletools-engineering-service2 in #16277
- Ensure we restore the temp csproj to compute AOT compiler path by @vs-mobiletools-engineering-service2 in #16284
- [illink] Ensure we replace the dotnet SDK path in the _ExtraTrimmerArgs for remote builds. by @rolfbjarne in #16311
New Contributors
- @J-Swift made their first contribution in #15665
- @janwiebe-jump made their first contribution in #15642
Full Changelog: dotnet-7.0.1xx-rc.1-1031...dotnet-7.0.1xx-xcode14-rc.2-1271