Releases: dotnet/macios
.NET 7
We're excited to announce our .NET 7 SDK release!
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:
Full release notes: https://github.com/xamarin/xamarin-macios/wiki/.NET-7-release-notes
.NET 7.0.100 RC 2 - Xcode 14 (1271)
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
.NET 6.0.4xx - Xcode 14 (523)
This is a servicing release to the previous major 6.0.4xx release, adding support for iOS 16 and tvOS 16.
This release consists of the following versions:
Full release notes: .NET release notes for Xcode 14.0
Warning
Xcode 14 does not contain updated SDKs for macOS and Mac Catalyst, only iOS and tvOS. This is why this release only contains packages for iOS and tvOS. macOS and Mac Catalyst projects will continue to use earlier packages.
For more information about Xcode 14 support, see: #15954.
What's Changed
- [UIKit] Change UITextInput.SelectedTextRange to not be ArgumentSemantic.Copy. Fixes #15677. (#16278)
- Ensure we restore the temp csproj to compute AOT compiler path. (#16282)
- [illink] Ensure we replace the dotnet SDK path in the _ExtraTrimmerArgs for remote builds. (#16295)
Full Changelog: dotnet-6.0.4xx-xcode14-517...dotnet-6.0.4xx-xcode14-523
.NET 7.0.100 RC 2 (1186)
We're excited to announce our second preview release for .NET 7 for macOS and MacCatalyst!
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:
- macOS: 12.3.1186-rc.2
- Mac Catalyst: 15.4.1186-rc.2
Full release notes: https://github.com/xamarin/xamarin-macios/wiki/.NET-7-release-notes
Known issues: https://github.com/xamarin/xamarin-macios/wiki/Known-issues-in-.NET7
Warning
Xcode 14 does not contain updated SDKs for macOS and Mac Catalyst, only iOS and tvOS. This is why this release does not support Xcode 14.
For more information about Xcode 14 support, see: #15954.
What's Changed
- [generator] Do not zero-extend implied catalyst attributes by @chamons in #15648
- Remove duplicated SceneKitAsset declarations by @J-Swift in #15665
- [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
- Fixed remote archiving with iOS app extensions by @mauroa in #15726
- [msbuild] Unify the DetectSigningIdentity task between iOS and Mac. by @rolfbjarne in #15698
- [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
- [UIKit] Add attr missing from the review in #15800 by @mandel-macaque in #15835
- [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
- [release/7.0.1xx-rc2] [msbuild] Hot Restart fixes by @vs-mobiletools-engineering-service2 in #16004
- [build] Improve generated manifest MSI versions by @pjcollins in #16091
- [release/7.0.1xx-rc2] Fix selectors from submission tests by @chamons in #16045
- [release/7.0.1xx-rc2] [msbuild] Add a public 'CompileImageAssetsDependsOn' property. Fixes #16065. by @vs-mobiletools-engineering-service2 in #16112
- [release/7.0.1xx-rc2] [net7.0] [workload] Update net6.0 KnownFrameworkReference by @vs-mobiletools-engineering-service2 in #16136
- [release/7.0.1xx-rc2] [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 #16154
- [release/7.0.1xx-rc2] [dotnet] Don't try to ILStrip assemblies unless we're connected to a Mac. by @vs-mobiletools-engineering-service2 in #16161
- [release/7.0.1xx-rc2] [msbuild] Make DetectSigningIdentity.CodesignEntitlements an ITaskItem property. by @vs-mobiletools-engineering-service2 in #16177
- [7.0.1xx-rc2] Make the vsman's target name unique for this branch. by @rolfbjarne in #16222
- [release/7.0.1xx-rc2] [UIKit] Change UITextInput.SelectedTextRange to not be ArgumentSemantic.Copy. Fixes #15677. by @vs-mobiletools-engineering-service2 in #16276
- [release/7.0.1xx-rc2] Ensure we restore the temp csproj to compute AOT compiler path by @vs-mobiletools-engineering-service2 in #16283
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-rc.2-1186
.NET 6.0.4xx - Xcode 14 (517)
This is a servicing release to the previous major 6.0.4xx release, adding support for iOS 16 and tvOS 16.
This release consists of the following versions:
Full release notes: .NET release notes for Xcode 14.0
Warning
Xcode 14 does not contain updated SDKs for macOS and Mac Catalyst, only iOS and tvOS. This is why this release only contains packages for iOS and tvOS. macOS and Mac Catalyst projects will continue to use earlier packages.
For more information about Xcode 14 support, see: #15954.
Full Changelog: dotnet-6.0.4xx-455...dotnet-6.0.4xx-xcode14-517
xamarin-ios-16.0.0.72
This is a service release for our d17-3 release train that includes Xcode 14 support.
Product | Version | Package | Changelog |
---|---|---|---|
Xamarin.iOS | 16.0.0.72 | xamarin.ios-16.0.0.72.pkg | xamarin-ios-15.12.0.2...xamarin-ios-16.0.0.72 |
What's Changed
Frameworks
The API bindings for the following frameworks have been updated
- ARKit by @mandel-macaque in #15408
- AudioToolbox by @mandel-macaque in #15877
- AuthenticationServices by @mandel-macaque in #15604
- AutomaticAssessmentConfiguration by @tj-devel709 in #15742
- AVKit by @tj-devel709 in #15811
- AVRouting by @tj-devel709 in #15811
- BackgroundAssets by @mandel-macaque in #15649
- CallKit by @mandel-macaque in #15411
- CarPlay by @mandel-macaque in #15403
- ClockKit by @mandel-macaque in #15417
- CoreAudioKit by @mandel-macaque in #15418
- CoreBluetooth by @mandel-macaque in #15419
- CoreFoundation by @chamons in #15799
- CoreGraphics by @chamons in #15831
- CoreHaptics by @mandel-macaque in #15523
- CoreImage by @chamons in #15661
- CoreMedia by @mandel-macaque in #15524
- CoreMIDI by @tj-devel709 in #15917
- CoreML by @mandel-macaque in #15527
- CoreNFC by @mandel-macaque in #15528
- CoreSpotlight by @mandel-macaque in #15532
- CoreTelephony by @mandel-macaque in #15533
- CoreText by @mandel-macaque in #15534
- CoreVideo by @chamons in #15833
- CoreWLAN by @tj-devel709 in #15856
- DeviceCheck by @mandel-macaque in #15639
- EventKit by @SotoiGhost in #15542
- ExecutionPolicy by @mandel-macaque in #15641
- ExtensionKit by @SotoiGhost in #15548
- FileProvider by @tj-devel709 in #15790
- Foundation by @chamons in #15579
- FSEvents by @mandel-macaque in #15707
- GameController by @tj-devel709 in #15692
- GameKit by @mandel-macaque in #15607
- HealthKit by @tj-devel709 in #15612
- HealthKitUI by @mandel-macaque in #15640
- HomeKit by @mandel-macaque in #15650
- IdentityLookup by @tj-devel709 in #15740
- ImageIO by @tj-devel709 in #15779
- Intents by @mandel-macaque in #15703
- IntentsUI by @mandel-macaque in #15704
- IOSurface by @mandel-macaque in #15706
- iTunesLibrary by @tj-devel709 in #15705
- LaunchServices by @tj-devel709 in #15859
- LocalAuthentication by @SotoiGhost in #15873
- MediaPlayer by @mandel-macaque in #15654
- MessageUI by @SotoiGhost in #15652
- MetalPerformanceShadersGraph by @praeclarum in #14303
- MetricKit by @SotoiGhost in #15629
- ModelIO by @tj-devel709 in #15715
- NaturalLanguage by @tj-devel709 in #15718
- NearbyInteraction by @tj-devel709 in #15840
- Network by @mandel-macaque in #15841
- NetworkExtensions by @mandel-macaque in #15847
- PassKit by @tj-devel709 in #15613
- PdfKit by @tj-devel709 in #15628
- PencilKit by @mandel-macaque in #15702
- PHASE by @mandel-macaque in #15638
- Photos by @chamons in #15608
- PushKit by @SotoiGhost in #15637
- PushToTalk by @mandel-macaque in #15645
- SafariServices by @mandel-macaque in #15635
- ScreeCaptureKit by @mandel-macaque in #15647
- SharedWithYouCore by @mandel-macaque in #15634
- ShareWithYou by @mandel-macaque in #15819
- ShazamKit by @tj-devel709 in #15539
- Speech by @mandel-macaque in #15627
- SpriteKit by @mandel-macaque in #15626
- StoreKit by @mandel-macaque in #15609
- ThreadNetwork by @mandel-macaque in #15555
- TVServices by @mandel-macaque in #15553
- UIKit by @mandel-macaque in #15835
- UniformTypeIdentifiers by @mandel-macaque in #15550
- UserNotitications by @mandel-macaque in #15544
- VideoSubscriberAccount by @mandel-macaque in #15699
- Vision by @mandel-macaque in #15538
- WatchKit by @mandel-macaque in #15535
- WebKit by @SotoiGhost in #15525
A lot more details that are shared with the .NET release can be found here.
New Contributors
- @J-Swift made their first contribution in #15665
- @janwiebe-jump made their first contribution in #15642
- @JamieMagee made their first contribution in #15842
.NET 6.0.4xx (465)
This is a servicing release to the previous major 6.0.4xx release for macOS and Mac Catalyst (see .NET 6.0.4xx - Xcode 14 (517) for iOS and tvOS).
This release consists of the following versions:
Full release notes: https://github.com/xamarin/xamarin-macios/wiki/.NET-release-notes-Xcode-13.3
Known issues: https://github.com/xamarin/xamarin-macios/wiki/Known-issues-in-.NET
Breaking changes: https://github.com/xamarin/xamarin-macios/wiki/Breaking-changes-in-.NET
Warning
Xcode 14 does not contain updated SDKs for macOS and Mac Catalyst, only iOS and tvOS. This is why this release does not support Xcode 14.
For more information about Xcode 14 support, see: #15954.
Full Changelog: dotnet-6.0.4xx-455...dotnet-6.0.4xx-465
.NET 7.0.100 RC 1 (1031)
This is a servicing release to the previous 7.0.1xx-rc1 release.
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: 15.4.1031-rc.1
- tvOS: 15.4.1031-rc.1
- macOS: 12.3.1031-rc.1
- Mac Catalyst: 15.4.1031-rc.1
Full release notes: https://github.com/xamarin/xamarin-macios/wiki/.NET-7-release-notes
Known issues: https://github.com/xamarin/xamarin-macios/wiki/Known-issues-in-.NET7
Warning
This release is not compatible with Xcode 14. For more information about Xcode 14 support, see: #15954.
What's Changed
- [build] Fix manifest MSI versions for RC 1 by @pjcollins in #16090
Full Changelog: dotnet-7.0.1xx-rc.1-1029...dotnet-7.0.1xx-rc.1-1031
.NET 7.0.100 RC 1 (1029)
We're excited to announce our first preview release for .NET 7!
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: 15.4.1029-rc.1
- tvOS: 15.4.1029-rc.1
- macOS: 12.3.1029-rc.1
- Mac Catalyst: 15.4.1029-rc.1
Full release notes: https://github.com/xamarin/xamarin-macios/wiki/.NET-7-release-notes
Known issues: https://github.com/xamarin/xamarin-macios/wiki/Known-issues-in-.NET7
Warning
This release is not compatible with Xcode 14. For more information about Xcode 14 support, see: #15954.
What's Changed
Bugs fixed
- [mtouch] Preserve the xamarin_dyn_* functions when we're handling Objective-C exceptions by unwinding managed code. Fixes #14193. by @rolfbjarne in #14852
- [msbuild] Copy binding resource files back to Windows. Fixes #13393. by @rolfbjarne in #14702
- [dotnet] Add support for selecting whether to create P/Invoke wrappers or not. Fixes #4940. by @rolfbjarne in #14961
- [AppKit] Add NSView.AddToolTip overloads that take NSObjects as owners. Fixes #14996. by @rolfbjarne in #15000
- [dotnet-linker] Bump default trampoline count when using the interpreter on x64 in .NET. Fixes #14887. by @rolfbjarne in #15025
- [AppKit] Fix wrong binding for NSToolbarItem.Image in Mac Catalyst. Fixes #15068. by @rolfbjarne in #15075
- [msbuild] Use the full path to the symbols list file. Fixes #15046. by @rolfbjarne in #15105
- [CarPlay] Propagate constructors to derived classes. Fixes #15169. by @rolfbjarne in #15179
- [msbuild] Fix computing the output path for SceneKitAsset items with custom Link metadata. Fixes #15104. by @rolfbjarne in #15186
- [tools] Make sure to finish the P/Invoke generator output before running the static registrar. Fixes #15190. by @rolfbjarne in #15214
- [introspection] Fix according to macOS 12.4. Fixes #15229. by @rolfbjarne in #15230
- [runtime] Fix 'skip_nested_brace' to not read past the string. Fixes #15253. by @rolfbjarne in #15257
- [SceneKit] Fix SCNMatrix4 in .NET. Fixes #15094. by @rolfbjarne in #15160
- [dotnet] Fix hang after packing .NET NuGets. Fixes #13355. by @rolfbjarne in #15407
- [msbuild/tools] Fix path issues in the FilterStaticFrameworks task and ExtractBindingLibraries step. Fixes #15289. by @rolfbjarne in #15321
- [dotnet] Use an arm64-based .NET local install on arm64 machines. Fixes #15375. by @rolfbjarne in #15389
- [CoreCLR] Avoid having any internal calls in managed code for CoreCLR. Fixes #15343. by @rolfbjarne in #15358
- [msbuild] Copy partial app manifests to build server if they exists on Windows. Fixes #15267. by @rolfbjarne in #15328
- [dotnet] Make it so that 'net6.0-*' TargetFrameworks work when building with .NET 7. Fixes #15672. by @rolfbjarne in #15761
- Ensure the Hot Restart bundle does not have any entitlements set by @emaf in #15558
- Fix crash with NSUrl implicit conversion and null by @chamons in #14860
- Bump mono to get fix for #12416. by @rolfbjarne in #14934
- Avoid executing _VerifyXcodeVersion when there's no connection to a Mac by @mauroa in #15026
- [runtime] Handle fatal managed exceptions a bit better in the runtime. by @rolfbjarne in #15029
- [dotnet] Make sure to not run the linker when we're on a disconnected Windows build. by @rolfbjarne in #15076
- [AppKit] Add constructors for NSMenuToolbarItem classes by @chamons in #15087
- [runtime] Skip passing ICU_DAT_FILE_PATH to the runtime if we don't have an ICU data file. by @rolfbjarne in #15085
- Allow overriding HOME variable in dotnet remote builds by @mauroa in #15171
- [msbuild] Only sign the prebuilt hotrestart app in CI by @rolfbjarne in #15236
- [msbuild] Only pass -z to dsymutil when using Xcode 13.2 or earlier. by @rolfbjarne in #15254
- [ObjCRuntime] Add missing cases for UIntPtr for determining if a type is a built-in type. by @rolfbjarne in #15391
- [runtime] Adjust exception handling to always return managed exceptions if so requested. by @rolfbjarne in #15432
- [dotnet] Don't set '_RunAotCompiler' on macOS if 'MtouchInterpreter' is set. by @rolfbjarne in #14874
Performance improvements
- [appkit] Add missing NullAllowed on NSSavePanel.AllowedFileTypes by @chamons in #15570
- [corefoundation] Cache
kCFNull
to avoid native calls by @spouliot in #15146 - [foundation] Cache parts of
NSObject.ConformsToProtocol
by @spouliot in #15294 - [generator] Don't use culture-aware API. by @rolfbjarne in #15392
- [ObjCRuntime] Specify the string comparison to use when comparing strings in Runtime.IsARM64CallingConvention. by @rolfbjarne in #14840
- [perf] Cache
Runtime.IsUserType
results by @spouliot in #15149
Added API
- [Dlfcn] Add an enum to specify the mode to dlopen by @rolfbjarne in #15438
- Add MetalPerformanceShadersGraph Bindings by @praeclarum in #14303
Nullability additions
- [compression] Add nullability to (generated and manual) bindings by @tj-devel709 in #14916
- [corefoundation] Add nullability to (generated and manual) bindings by @tj-devel709 in #15090
- [coregraphics] Add nullability to (generated and manual) bindings by @tj-devel709 in #15067
- [coremedia] Add nullability to (generated and manual) bindings by @tj-devel709 in #15066
- [coremidi] Add nullability to (generated and manual) bindings by @tj-devel709 in #15098
- [coremotion] Add nullability to (generated and manual) bindings by @tj-devel709 in #15072
- [coreservices] Add nullability to (generated and manual) bindings by @tj-devel709 in #15081
- [corespotlight] Add nullability to (generated and manual) bindings by @tj-devel709 in #15023
- [coretelephony] Add nullability to (generated and manual) bindings by @tj-devel709 in #15022
- [coretext] Add nullability to (generated and manual) bindings by @tj-devel709 in #14978
- [gameplaykit] Add nullability to (generated and manual) bindings by @tj-devel709 in #14615
- [healthkit] Add nullability to (generated and manual) bindings by @tj-devel709 in #14730
- [homekit] Add nullability to (generated and manual) bindings by @tj-devel709 in #15111
- [imagecapturecore] Add nullability to (generated and manual) bindings by @tj-devel709 in #15127
- [ituneslibrary] Add nullability to (generated and manual) bindings by @tj-devel709 in #14967
- [mediaplayer] Add nullability to (generated and manual) bindings by @tj-devel709 in #15147
- [metal] Add nullability to (generated and manual) bindings by @tj-devel709 in #15162
- [metalperformanceshaders] Add nullability to (generated and manual) bindings by @tj-devel709 in #15163
- [modelio] Add nullability to (generated and manual) bindings by @tj-devel709 in #15164
- [opengl] Add nullability to (generated and manual) bindings by @tj-devel709 in https://github.com/xamarin/xamari...
.NET 6.0.4xx (454)
This is a servicing release to the previous major 6.0.4xx release.
This release consists of the following versions:
Full release notes: https://github.com/xamarin/xamarin-macios/wiki/.NET-release-notes-Xcode-13.3
Known issues: https://github.com/xamarin/xamarin-macios/wiki/Known-issues-in-.NET
Breaking changes: https://github.com/xamarin/xamarin-macios/wiki/Breaking-changes-in-.NET
Warning
This release is not compatible with Xcode 14. For more information about Xcode 14 support, see: #15954.
Breaking changes
-
An
Entitlements.plist
file is now automatically detected: if there's anEntitlements.plist
file in the project folder, we'll automatically detect it and treat it as a file containing entitlements that should be requested during code signing. A consequence is that the presence of this file means that the app bundle will now be signed, which also means that we must find an applicable code signing certificate and provisioning profile during the build, otherwise the build will fail:Could not find any available provisioning profiles for on iOS.
There are a few workarounds:
-
If the
Entitlements.plist
file does not contain any entitlements, it can be removed. -
The automatic detection can be disabled by setting the
EnableDefaultCodesignEntitlements
property tofalse
in the project file:<PropertyGroup> <EnableDefaultCodesignEntitlements>false</EnableDefaultCodesignEntitlements> </PropertyGroup>
If the entitlements are still required for release builds for instance, something like this can be used instead:
<PropertyGroup> <EnableDefaultCodesignEntitlements>false</EnableDefaultCodesignEntitlements> <CodesignEntitlements Condition="'$(Configuration)' == 'Release'">Entitlements.plist</CodesignEntitlements> </PropertyGroup>
-
What's Changed
- [ci] Add support to net6.0 for multi-targeting in VS. (#15776)
- [msbuild] Automatically detect any Entitlements.plist files in the root project in .NET. (#15729 -> #15798)
- Implement macOS/MacCatalyst Archive and publishing support (#15720 -> #15798)
- [release/6.0.4xx][msbuild] Take the .NET version into account when computing the illink.dll location. (#15875).
Full Changelog: dotnet-6.0.4xx-447...dotnet-6.0.4xx-454