Releases: xamarin/xamarin-macios
.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
.NET 6.0.4xx (447)
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
What's Changed
- [msbuild/tools] Fix path issues in the FilterStaticFrameworks task and ExtractBindingLibraries step. Fixes #15289. (#15444)
- [runtime] Fix 'skip_nested_brace' to not read past the string. Fixes #15253. (#15461)
- [msbuild] Copy partial app manifests to build server if they exists on Windows. Fixes #15267. (#15467)
- [dotnet] Generate Microsoft..Sdk.ImplicitNamespaceImports.props. (#15464)
- [dotnet] Accept invalid runtime identifiers for Restore. (#15491)
- [CoreCLR] Avoid having any internal calls in managed code for CoreCLR. Fixes #15343. (#15458)
- [debugger] Work around a debugger issue when using the interpreter. (#15510)
- Ensure the Hot Restart bundle does not have any entitlements set. (#15560)
Full Changelog: dotnet-6.0.4xx-430...dotnet-6.0.4xx-447
.NET 6.0.4xx (430)
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
What's Changed
Full Changelog: dotnet-6.0.4xx...dotnet-6.0.4xx-430
.NET 6.0.3xx (315)
This is the second servicing release to the previous major 6.0.3xx 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
What's Changed
Full Changelog (since previous service release): dotnet-6.0.3xx-311...dotnet-6.0.3xx-315
.NET 6.0.3xx (311)
This is a servicing release to the previous major 6.0.3xx 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
What's Changed
- [dotnet] Make sure to not run the linker when we're on a disconnected Windows build. (#15096)
- [dotnet] Change condition when to include the System.Runtime.InteropServices.NFloat.Internal package reference. (#15184)
- [dotnet] Condition default inclusion on the target framework version. (#15197)
Full Changelog: dotnet-6.0.3xx...dotnet-6.0.3xx-311