Releases: xamarin/xamarin-macios
.NET 9.0.1xx Preview 2 (9244)
We're excited to announce our second preview release for .NET 9!
Note: these are the base SDKs that add support for the platforms in question. For MAUI (which is built on top of our SDKs), visit: https://learn.microsoft.com/dotnet/maui/.
This release consists of the following versions:
- iOS: 17.2.9244-net9-p2
- tvOS: 17.2.9244-net9-p2
- Mac Catalyst: 17.2.9244-net9-p2
- macOS: 14.2.9244-net9-p2
Full release notes: .NET 9 release notes
Known issues: Known issues in .NET 9
What's Changed
- [Accelerate] Make P/Invokes have blittable signatures. by @rolfbjarne in #19991
- [AppKit] Make P/Invokes have blittable signatures. by @rolfbjarne in #19987
- [AudioToolbox] Fix computing array size. by @rolfbjarne in #19952
- [AudioToolbox] Make P/Invokes in AudioConverter.cs have blittable signatures. by @rolfbjarne in #19848
- [AudioToolbox] Make P/Invokes in AudioFile.cs have blittable signatures. by @rolfbjarne in #19936
- [AudioToolbox] Make P/Invokes in AudioFileGlobalInfo.cs have blittable signatures. by @rolfbjarne in #19906
- [AudioToolbox] Make P/Invokes in AudioFormat.cs have blittable signatures. by @rolfbjarne in #19954
- [AudioToolbox] Make P/Invokes in AudioQueue.cs have blittable signatures. by @rolfbjarne in #19933
- [AudioToolbox] Make P/Invokes in AudioSession.cs have blittable signatures. by @rolfbjarne in #19834
- [AudioToolbox] Make P/Invokes in AudioToolbox.cs have blittable signatures. by @rolfbjarne in #19840
- [AudioToolbox] Make P/Invokes in MusicSequence.cs have blittable signatures. by @rolfbjarne in #19839
- [AudioToolbox] Sprinkle DynamicallyAccessedMembers attributes to fix ILC trimmer warnings. by @rolfbjarne in #19913
- [AudioUnit] Make P/Invokes in ExtAudioFile.cs have blittable signatures. by @rolfbjarne in #19995
- [CFNetwork] Make P/Invokes have blittable signatures. by @rolfbjarne in #20037
- [Compression] Make P/Invokes have blittable signatures. by @rolfbjarne in #19996
- [CoreAnimation] Make P/Invokes have blittable signatures. by @rolfbjarne in #19997
- [CoreFoundation] Make P/Invokes in CFBundle and CFDictionary have blittable signatures. by @rolfbjarne in #20060
- [CoreLocation] Make P/Invokes have blittable signatures. by @rolfbjarne in #20001
- [CoreText] Add NotNullWhen to help MAUI with null errors. by @mandel-macaque in #20050
- [Foundation] Create a strong dictionary for NSAttributedStringDocumentAttributeKey. by @rolfbjarne in #19824
- [HealthKit] Make P/Invokes have blittable signatures. by @rolfbjarne in #20005
- [MapKit] Make P/Invokes have blittable signatures. by @rolfbjarne in #20006
- [MediaPlayer] Make P/Invokes have blittable signatures. by @rolfbjarne in #20012
- [Metal] Make P/Invokes have blittable signatures. by @rolfbjarne in #20009
- [MetalPerformanceShaders] Make P/Invokes have blittable signatures. by @rolfbjarne in #20014
- [mmp] Add PreserveSmartEnumConversionsSubStep to the linker sub steps. Fixes #19712. by @rolfbjarne in #19836
- [MobileCoreServices] Make P/Invokes have blittable signatures. by @rolfbjarne in #20015
- [monotouch-test] Ignore the MetalPerformanceShadersGraph.MnistTest test, it fails randomly. by @rolfbjarne in #20033
- [msbuild] Correctly add custom entitlements to the archived entitlements. by @rolfbjarne in #19920
- [msbuild] Disable certain .NET behaviors we don't need when doing stuff on a remote Mac. by @rolfbjarne in #19961
- [msbuild] Don't try to bundle the BouncyCastle.Crypto library anymore. by @rolfbjarne in #20044
- [msbuild] Enable nullability and improve error reporting in the PackLibraryResources task. by @rolfbjarne in #19998
- [msbuild] Enable nullability for ArTool and AcTool. by @rolfbjarne in #20010
- [msbuild] Enable nullability in the CollectBundleResources task. by @rolfbjarne in #19992
- [msbuild] Fix item name confusion - the texture atlas item group is called AtlasTexture, not TextureAtlas. by @rolfbjarne in #19994
- [msbuild] Fix WriteAssetPackManifest class name and abstractability after recent changes. by @rolfbjarne in #19978
- [msbuild] Merge the Archive[TaskBase] classes. by @rolfbjarne in #19949
- [msbuild] Merge the BTouch[TaskBase] classes. by @rolfbjarne in #19951
- [msbuild] Merge the CreateBindingResourcePackage[TaskBase] classes. by @rolfbjarne in #19975
- [msbuild] Merge the DetectSdkLocations[TaskBase] classes. by @rolfbjarne in #19977
- [msbuild] Merge the ReadItemsFromFile[Task] classes. by @rolfbjarne in #19875
- [msbuild] Merge the ResolveNativeWatchApp[TaskBase] classes. by @rolfbjarne in #19879
- [msbuild] Merge the ScnTool[TaskBase] classes. by @rolfbjarne in #19880
- [msbuild] Merge the SmartCopy[TaskBase] classes. by @rolfbjarne in #19904
- [msbuild] Merge the SpotlightIndexer[TaskBase] classes. by @rolfbjarne in #19893
- [msbuild] Merge the SymbolStrip[TaskBase] classes. by @rolfbjarne in #19894
- [msbuild] Merge the Task[Base] classes overriding Microsoft.Build.Tasks.Core tasks. by @rolfbjarne in #19956
- [msbuild] Merge the TextureAtlas[TaskBase] classes. by @rolfbjarne in #19895
- [msbuild] Merge the UnpackLibraryResources[TaskBase] classes. by @rolfbjarne in #19905
- [msbuild] Merge the ValidateAppBundle[TaskBase] classes. by @rolfbjarne in #19907
- [msbuild] Merge the WriteAppManifest[TaskBase] classes. by @rolfbjarne in #19921
- [msbuild] Merge the WriteAssetPackManifest[TaskBase] classes. by @rolfbjarne in #19928
- [msbuild] Merge the WriteItemsToFile[TaskBase] classes. by @rolfbjarne in #19931
- [msbuild] Merge the Zip[TaskBase] classes. by @rolfbjarne in #19932
- [msbuild] Pass /p:RestoreConfigFile to 'dotnet build' in addition to 'dotnet restore'. by @rolfbjarne in #20008
- [msbuild] Process custom entitlements as if they came from an Entitlements.plist file. by @rolfbjarne in #19942
- [msbuild] Remove SimpleAssemblyResolver - it's not used. by @rolfbjarne in #20016
- [msbuild] Remove usage of GitInfo in Xamarin.Messaging.Build. by @rolfbjarne in #19935
- [msbuild] Rename numerous files to match their task name. by @rolfbjarne in #20013
- [msbuild] Take the CustomEntitlements item group into account in DetectSigningIdentity. by @rolfbjarne in #19919
- [msbuild] Use exact version of XVS' packages. by @rolfbjarne in #20043
- [net9.0] [tests] Add a test to verify that we can build .NET 8 apps. by @rolfbjarne in #19897
- [net9.0] Bump min iOS and tvOS version to 12.2. by @rolfbjarne in #19953
- [VideoToolbox] Make P/Invokes have blittable signatures. by @rolfbjarne in #20019
- Avoid passing null to TaskRunner.FixReferencedItems by @mauroa in https://github.com/xamarin/xamarin-...
.NET 8.0.1xxx (8043)
This is a servicing release to the previous .NET 8 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/.
Versions
This release consists of the following versions:
🚨 This release requires Xcode 15.1 or Xcode 15.2.
Full release notes: https://github.com/xamarin/xamarin-macios/wiki/.NET-8-release-notes
Full Changelog: dotnet-8.0.1xx-xcode15.1-8022...dotnet-8.0.1xx-xcode15.1-8043
.NET 7.0.3xx (7141)
This is a servicing release to the previous 7.0.3xx service release.
Versions
This release consists of the following versions:
These builds are supported using both Xcode 14.3 and Xcode 15.1 / Xcode 15.2
What's Changed
- Avoid passing null to TaskRunner.FixReferencedItems by @vs-mobiletools-engineering-service2 in #20023
Full Changelog: dotnet-7.0.3xx-7133...dotnet-7.0.3xx-7141
.NET 9.0.1xx Preview 1 (9088)
We're excited to announce our first preview release for .NET 9!
Note: these are the base SDKs that add support for the platforms in question. For MAUI (which is built on top of our SDKs), visit: https://learn.microsoft.com/dotnet/maui/.
This release consists of the following versions:
- iOS: 17.2.9088-net9-p1
- tvOS: 17.2.9088-net9-p1
- Mac Catalyst: 17.2.9088-net9-p1
- macOS: 14.2.9088-net9-p1
Full release notes: .NET 9 release notes
Known issues: Known issues in .NET 9
What's Changed
API improvements / fixes / additions
- [AppKit/UIKit] Adjust a few availability attributes in NS[Mutable]ParagraphStyle. Fixes #19209. by @rolfbjarne in #19211
- [AppKit] Add support for Xcode 15. by @mandel-macaque in #19119
- [AppKit] Fix binding for NSFontDescriptor.Create. Fixes #19659. by @rolfbjarne in #19663
- [AppKit] Implement the NSUserInterfaceItemSearching protocol. Fixes #19649. by @rolfbjarne in #19662
- [AppKit] Make NSGraphics.NSBestDepth P/Invoke blittable. by @rolfbjarne in #19614
- [AppKit] Remove [NSImage imageWithSymbolName:bundle:variableValue:] from Mac Catalyst. by @rolfbjarne in #19320
- [AppKit] Update the NSBezelStyle enum according to latest headers. Fixes #19555. by @rolfbjarne in #19556
- [AudioToolbox] Make P/Invokes in AudioFileStream.cs have blittable signatures. by @rolfbjarne in #19835
- [AudioToolbox] Make P/Invokes in AudioServices.cs have blittable signatures. by @rolfbjarne in #19841
- [AudioToolbox] Make P/Invokes in MusicPlayer.cs have blittable signatures. by @rolfbjarne in #19694
- [AudioToolbox] Make P/Invokes in MusicTrack.cs have blittable signatures. by @rolfbjarne in #19678
- [AudioToolbox] Make P/Invokes in SystemSound.cs have blittable signatures. by @rolfbjarne in #19677
- [AutomaticAssessmentConfiguration] Add missing constructors to AEAssessmentApplication. Fixes #19133. by @rolfbjarne in #19180
- [CoreBluetooth] Fix a typo in CBPeripheralDelegate.DiscoveredService for XAMCORE_5_0. by @rolfbjarne in #19582
- [CoreMidi] Add CoreMidi enums to Watch so that we can have them for avfoundation. by @mandel-macaque in #19580
- [CoreMidi] Add support for tvOS. by @mandel-macaque in #19529
- [CoreMidi] Make P/Invokes have blittable signatures. by @rolfbjarne in #19706
- [CoreMidi] Make P/Invokes have blittable signatures. by @rolfbjarne in #19724
- [CoreMidi] Obsolete the MidiPacket.Bytes property. by @rolfbjarne in #19705
- [CoreText] Fix a few nullability issues in CTFontDescriptor. by @rolfbjarne in #19439
- [CoreText] Implement CTFontDescriptor.MatchFontDescriptors. Fixes #19397. by @rolfbjarne in #19399
- [Foundation] Add support for Xcode 15 beta 7. by @mandel-macaque in #19007
- [Foundation] Bind a few missing notifications. Fixes #19837. by @rolfbjarne in #19846
- [Foundation] Create a strong dictionary for NSAttributedStringDocumentReadingOptionKey. by @rolfbjarne in #19667
- [Foundation] Fix a few issues with NSUrlConnection.SendSynchronousRequest. by @rolfbjarne in #19458
- [Foundation] Improve visibility of NSObject members in intellisense by @haritha-mohan in #19106
- [Foundation] Make P/Invokes in NSDecimal.cs have blittable signatures. by @rolfbjarne in #19702
- [Foundation] NSArray.FromNSObjects will never return null objects. Fixes #19622. by @rolfbjarne in #19627
- [GameKit] Add support for Xcode 15 by @haritha-mohan in #19285
- [ImageIO] Make P/Invokes have blittable signatures. by @rolfbjarne in #19701
- [InputMethodKit] Remove existing code for InputMethodKit. by @rolfbjarne in #19462
- [LocalAuthentication] Make path have the correct case by @rolfbjarne in #19465
- [Metal] Add support for Xcode15. by @mandel-macaque in #19379
- [MetalFX] Add the framework (which was added in Xcode 14) and add xcode 15 support. by @mandel-macaque in #19107
- [MetalKit] Add support for Xcode 15. by @mandel-macaque in #19274
- [ModelIO] Include MDLMaterial.cs in the build. by @rolfbjarne in #19464
- [NerabyInteraction] Add support for xcode 15. by @mandel-macaque in #19273
- [Network] Add support for Xcode 15. by @mandel-macaque in #19418
- [ObjCRuntime] Cache a few expensive and frequent operations in Class. Fixes #19079. by @rolfbjarne in #19086
- [ObjCRuntime] Throw a more descriptive InvalidCastException when failing to create an instance of the appropriate type in Runtime.CreateNSObject. by @rolfbjarne in #19629
- [PassKit] Add support Xcode15 Beta 7 by @tj-devel709 in #19139
- [PassKit] Fix the intro tests for PassKit on macOS. by @mandel-macaque in #19760
- [Speech] Fix wrong added API in macOS. by @mandel-macaque in #19759
- [Storekit] Add support for xcode 15. by @mandel-macaque in #19309
- [UIKit] Add missing attrs for catalyst. by @mandel-macaque in #19355
- [UIKit] Add support for Xcode 15. by @mandel-macaque in #19120
- [UIKit] Adjust availability attributes for UIButtonConfiguration.[Sub]TitleLineBreakMode. Fixes ##19377. by @rolfbjarne in #19384
- [UIKit] Fix a few nullability issues by @rolfbjarne in #19688
- [UIKit] Fix broken UITrait bindings. Fixes #19410. by @rolfbjarne in #19411
- [UIKit] Make P/Invokes have blittable signatures. by @rolfbjarne in #19725
- [UIKit] Make P/Invokes related to UIAccessibility have blittable signatures. by @rolfbjarne in #19698
- [UIKit] Store the delegate in a local variable in the UIContextMenuInteraction. by @rolfbjarne in #19386
- [Vision] Add support for Xcode 15 by @haritha-mohan in #19099
- [Vision] Make P/Invokes have blittable signatures. by @rolfbjarne in #19703
- [Vision] Update Xcode 15 support by @haritha-mohan in #19412
- [WebKit] Add missing notification attrs. by @mandel-macaque in #19275
- [WebKit] Add support for Xcode 15 by @haritha-mohan in #19237
- Fix sending MidiPacket when MidiPacket has been created using a point… by @jamesdlow in #18981
Misc bug fixes / improvements
- [bgen] Adjust logic to handle protocol-backed events. by @rolfbjarne in #19689
- [bgen] Fix assembly comparison. Fixes #19612. by @rolfbjarne in #19619
- [bgen] Fix generated code to be nullability correct. by @rolfbjarne in #19655
- [bgen] Fix logic to handle protocol-backed events. by @rolfbjarne in #19707
- [Generator] == on a type those a reference equals check. by @mandel-macaque in #19756
- [Generator] Add BindingTouchConfig to BindingTouch by @dustin-wojciechowski in #19485
- [Generator] Allow to have a way to attach to the generator. by @mandel-macaque in #19565
- [Generator] Clean the AttributeManager from deps and fix a bug in the errors. by @mandel-macaque in https://...
.NET 8.0.1xxx (8022)
This is a servicing release to the previous .NET 8 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/.
Versions
This release consists of the following versions:
🚨 This release requires Xcode 15.1 or Xcode 15.2.
Full release notes: https://github.com/xamarin/xamarin-macios/wiki/.NET-8-release-notes
What's Changed
- Avoid passing null to TaskRunner.FixReferencedItems by @rolfbjarne in #19885
- [dotnet] Fix typo causing universal builds to not keep any symbols when stripped. Fixes #19860. by @rolfbjarne in #19924
- [msbuild] Take the CustomEntitlements item group into account in DetectSigningIdentity. by @vs-mobiletools-engineering-service2 in #19930
- [msbuild] Correctly add custom entitlements to the archived entitlements. by @vs-mobiletools-engineering-service2 in #19943
- [msbuild] Process custom entitlements as if they came from an Entitlements.plist file. by @vs-mobiletools-engineering-service2 in #19955
Full Changelog: dotnet-8.0.1xx-xcode15.1-8004...dotnet-8.0.1xx-xcode15.1-8022
.NET 7.0.3xx (7133)
This is a servicing release to the previous 7.0.3xx service release.
Versions
This release consists of the following versions:
These builds are supported using both Xcode 14.3 and Xcode 15.
What's Changed
- [release/7.0.3xx] Update dependencies from dotnet/installer by @dotnet-maestro in #19770
- [release/7.0.3xx] Update dependencies from dotnet/installer by @dotnet-maestro in #19811
- [release/7.0.3xx] [tests] Fix certificate tests after Apple started blocking the Thawte certificate. by @rolfbjarne in #19800
- [release/7.0.3xx] Update dependencies from dotnet/installer by @dotnet-maestro in #19853
Full Changelog: dotnet-7.0.3xx-xcode14.3-7129...dotnet-7.0.3xx-7133
.NET 8.0.1xxx - Xcode 15.1 / 15.2 Support (8004)
This is a servicing release to the previous .NET 8 release and It is also included inside Visual Studio 2022 version 17.8.5 and Visual Studio 2022 version 17.9 Preview 3. This release adds Xcode 15.1 and Xcode 15.2 support.
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/.
Versions
This release consists of the following versions:
🚨 This release requires Xcode 15.1 or Xcode 15.2.
What's Changed
- [AppKit] Fix binding for NSFontDescriptor.Create. Fixes #19659. by @vs-mobiletools-engineering-service2 in #19731
- [AppKit] Implement the NSUserInterfaceItemSearching protocol. Fixes #19649. by @vs-mobiletools-engineering-service2 in #19732
- [bgen] Fix assembly comparison. Fixes #19612. by @rolfbjarne in #19639
- [dotnet] Call the _CreateAssetPackManifest target during the build. Fixes #19669. by @vs-mobiletools-engineering-service2 in #19714
- [dotnet] Compute the path to the Xamarin SDK root as a relative path to .NET's root directory. by @vs-mobiletools-engineering-service2 in #19638
- [msbuild] Detect any dylibs in NativeReferences. Fixes #19520. by @vs-mobiletools-engineering-service2 in #19571
- [UIKit] Fix broken UITrait bindings. Fixes #19410. by @vs-mobiletools-engineering-service2 in #19730
- Bump the default target platform version to Xcode 15.1. by @rolfbjarne in #19748
- Bump to Xcode 15.1 by @dalexsoto in #19717
- Fix sending MidiPacket when MidiPacket has been created using a point. by @vs-mobiletools-engineering-service2 in #19716
Full Changelog: dotnet-8.0.1xx-8490...dotnet-8.0.1xx-xcode15.1-8004
Full release notes: https://github.com/xamarin/xamarin-macios/wiki/.NET-8-release-notes
.NET 7.0.3xx (7129)
This is a servicing release to the previous 7.0.3xx service release.
Versions
This release consists of the following versions:
These builds are supported using both Xcode 14.3 and Xcode 15.
What's Changed
- [release/7.0.3xx] Update dependencies from dotnet/installer by @dotnet-maestro in #19553
- [release/7.0.3xx] Update dependencies from dotnet/installer by @dotnet-maestro in #19562
Full Changelog: dotnet-7.0.3xx-7127...dotnet-7.0.3xx-xcode14.3-7129
.NET 8.0.1xxx (8490)
This is a servicing release to the first .NET 8 release.
Versions
This release consists of the following versions:
What's Changed
- [tools] Don't detect/resolve binding resource packages in mtouch/mmp/dotnet-linker. Fixes #19378. by @vs-mobiletools-engineering-service2 in #19463
- [UIKit] Store the delegate in a local variable in the UIContextMenuInteraction. by @vs-mobiletools-engineering-service2 in #19469
- [msbuild] Fix resolving static libraries inside an XCFramework in a NuGet. by @vs-mobiletools-engineering-service2 in #19523
Full Changelog: dotnet-8.0.1xx-8478...dotnet-8.0.1xx-8490
Full release notes: https://github.com/xamarin/xamarin-macios/wiki/.NET-8-release-notes
.NET 7.0.3xx (7127)
This is a servicing release to the previous 7.0.3xx service release.
Versions
This release consists of the following versions:
These builds are supported using both Xcode 14.3 and Xcode 15.
What's Changed
- [release/7.0.3xx] Update dependencies from dotnet/installer by @dotnet-maestro in #19409
- [release/7.0.3xx] [CI] Pin the python version to 3.11 until ESRP fixes their deps. by @vs-mobiletools-engineering-service2 in #19501
Full Changelog: dotnet-7.0.3xx-7125...dotnet-7.0.3xx-7127