Releases: dotnet/macios
Sharpie 26.4.0.212
We're excited to announce the second preview release of a major upgrade to Objective-Sharpie!
Main changes
- Open source
- Shipped as a .NET tool
- Updated to use a much newer version of Clang (21), which also means it's possible to use the latest versions of Xcode.
- Updated to use ClangSharp instead of a custom clang integration.
Our documentation has been updated as well: https://learn.microsoft.com/dotnet/maui/ios/objective-sharpie/
Installation
Install like this:
$ dotnet tool install -g Sharpie.Bind.Tool
You can invoke the tool using the following command: sharpie
Tool 'sharpie.bind.tool' (version '26.4.0.212') was successfully installed.
or update like this:
$ dotnet tool update -g Sharpie.Bind.Tool
Tool 'sharpie.bind.tool' was successfully updated from version '26.3.0.11' to version '26.4.0.212'.
Important
If the old sharpie is still installed, it might be found when executing sharpie:
$ sharpie --version
3.5.126-e5d8c166 # this is the old sharpiesharpie --version
dotnet-sharpie 26.4.0.212 # this is the new sharpieRunning this should make the new sharpie take precedence (this won't actually uninstall the old sharpie, just remove the convenience script in "/usr/local/bin/sharpie"):
$ sudo rm -f /usr/local/bin/sharpieUsage
Use it to bind a framework like this:
$ sharpie bind --framework path/to/my.framework --output output-directoryFor more information see https://learn.microsoft.com/dotnet/maui/ios/objective-sharpie/.
Please test and file any issues here!
What's Changed
- [sharpie/xtro] VersionTuple.IsEmpty is incorrect, so use an extension property with the correct implementation. by @rolfbjarne in #25034
- [sharpie] Add --custom-delegates option to generate named delegates instead of Func<>/Action<> by @rolfbjarne in #24975
- [sharpie] Add --deepsplit option to split bindings into one file per source header by @dalexsoto in #24883
- [sharpie] Add support for visionos_app_extension availability platform. Fixes #18098. by @rolfbjarne in #24828
- [sharpie] Bump ClangSharp to v21.1.8.3 by @dalexsoto in #25004
- [sharpie] Fix --scope path matching by @dalexsoto in #24882
- [sharpie] Fix platform type mapping for types inside generic type arguments. Fixes #24892. by @rolfbjarne in #24911
- [sharpie] Prefer standard protocol interfaces over [Model] classes in type mapping by @rolfbjarne in #24913
Full Changelog: sharpie-26.3.0.11...sharpie-26.4.0.212
.NET 11.0.1xx Preview 3 (11588)
We're excited to announce our third preview release for .NET 11!
Note
- Xcode 26.3 is required with this release. Xcode 26.3 requires macOS 15.6+.
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: 26.2.11588-net11-p3
- tvOS: 26.2.11588-net11-p3
- Mac Catalyst: 26.2.11588-net11-p3
- macOS: 26.2.11588-net11-p3
Full release notes: .NET 11 release notes
Known issues: Known issues in .NET 11
Installation
You can use workload set version 11.0.100-preview.3.26214.1 in order to install these versions of the SDKs, please make sure to be using the third preview of the .NET SDK 11.0.100 before issuing the dotnet workload install command below. You can validate your installed dotnet version using dotnet --version do make sure it shows 11.0.100 or greater before proceeding.
dotnet workload install <workload id(s)> --version 11.0.100-preview.3.26214.1Available workload ids
- ios
- tvos
- macos
- maccatalyst
- android (see https://github.com/dotnet/android)
- maui (see https://github.com/dotnet/maui)
Example command installing all listed workloads.
dotnet workload install ios tvos macos maccatalyst maui android --version 11.0.100-preview.3.26214.1You can use dotnet workload --info to validate the workload versions installed in your system.
New features
(Experimental) CoreCLR
We've added support for using CoreCLR as the runtime for iOS, tvOS and Mac Catalyst.
Most apps will see:
- Smaller app size.
- Faster launch and runtime execution.
- Faster builds, both for debug and release.
We're looking for early testers to ensure everything works as expected - using CoreCLR should be a drop-in replacement (it's been the runtime on macOS since .NET 6)
To enable, add this to your project file:
<!-- Use CoreCLR on iOS -->
<PropertyGroup Condition="$([MSBuild]::GetTargetPlatformIdentifier('$(TargetFramework)')) == 'ios'">
<UseMonoRuntime>false</UseMonoRuntime>
</PropertyGroup>
<!-- Use CoreCLR on tvOS -->
<PropertyGroup Condition="$([MSBuild]::GetTargetPlatformIdentifier('$(TargetFramework)')) == 'tvos'">
<UseMonoRuntime>false</UseMonoRuntime>
</PropertyGroup>
<!-- Use CoreCLR on Mac Catalyst -->
<PropertyGroup Condition="$([MSBuild]::GetTargetPlatformIdentifier('$(TargetFramework)')) == 'maccatalyst'">
<UseMonoRuntime>false</UseMonoRuntime>
</PropertyGroup>Please try this in your applications and report any issues, either if something doesn't work, or if app size or runtime performance is worse.
Known issues (these will be fixed in a future preview):
- Debugging isn't supported yet
- Some runtime diagnostics features aren't fully functional yet
This is an experimental feature and not intended for production use yet.
What's Changed
- [UIKit] Enable nullability and clean up UIVibrancyEffect. by @rolfbjarne in #24703
- [UIKit] Generate all UIToolbar bindings. by @rolfbjarne in #24709
- [UIKit] Enable nullability and clean up UITypes. by @rolfbjarne in #24701
- [tools] Add sharpie. Fixes #23962. by @rolfbjarne in #24622
- [build] Remove the sharpie dependency. by @rolfbjarne in #24719
- [src] Fix numerous memory leaks. by @rolfbjarne in #24723
- [build] Remove the code to create msbuild.zip/bundle.zip. by @rolfbjarne in #24724
- [ObjCRuntime] Enable nullability and clean up Blocks. by @rolfbjarne in #24726
- [ObjCRuntime] Enable nullability and clean up TypeConverter. by @rolfbjarne in #24733
- [main] Bring back arcade common files by @adamzip in #24743
- [ObjCRuntime] Enable nullability and clean up BackingField. by @rolfbjarne in #24734
- [ObjCRuntime] Enable nullability and clean up Stret. by @rolfbjarne in #24732
- [ObjCRuntime] Enable nullability and clean up CategoryAttribute. by @rolfbjarne in #24744
- [build] Remove Mono dependency. by @rolfbjarne in #24736
- [ObjCRuntime] Enable nullability and clean up TrampolineBlockBase. by @rolfbjarne in #24741
- [Foundation] Treat any exception during X509Chain.Build as a remote certificate chain error. Fixes #24739. by @rolfbjarne in #24754
- [runtime] Remove some dead code related to the embeddinator and unnecessary MONOMAC code. by @rolfbjarne in #24746
- [CI] Bump to use macOS Tahoe by @dalexsoto in #24612
- [tools] Convert tools/diff-to-html to a C# script in scripts/diff-to-html by @rolfbjarne in #24756
- [workflows] Add an arcade workflow to flow 'main' into 'net11.0'. by @rolfbjarne in #24753
- CoreCLR: Compute and pass instruction set to crossgen2 based on deployment target by @Copilot in #24621
- [net11.0] Update dependencies from dotnet/dotnet by @dotnet-maestro[bot] in #24780
- [targets] Improve/fix post-processing item collection for dylibs and frameworks by @rolfbjarne in #24721
- [ObjCRuntime] Enable nullability and clean up Runtime. by @rolfbjarne in #24747
- [CoreFoundation/Foundation] Optimize getting a handle for NSNull and a null CFAllocator. by @rolfbjarne in #24775
- [devops] Add GitHub comment posting to Prepare .NET Release stage by @rolfbjarne in #24783
- [Foundation] Add helper methods to NSArray to create managed arrays of strongly typed dictionaries. by @rolfbjarne in #24759
- [net11.0] Update dependencies from dotnet/macios by @dotnet-maestro[bot] in #24789
- [net11.0] Cache R2R image when only user assemblies are changed by @kotlarmilos in #24735
- [main] Update dependencies from dotnet/dotnet by @dotnet-maestro[bot] in #24752
- [main] Bump to Xcode 26.3 Stable by @dalexsoto in #24795
- [src] Fix memory leaks: release retained handles from Copy/Create native calls by @rolfbjarne in #24794
- [build] Make it possible to only build Objective-Sharpie. by @rolfbjarne in #24788
- Include .mobile.props for DTB (fix for VS Code) by @noiseonwires in #24801
- [Foundation] Add [NullAllowed] to NSBundle members. Fixes #24803. by @rolfbjarne in #24805
- [sharpie] Set a few required properties for the nupkg. by @rolfbjarne in #24813
- [devops] Treat 'merge/' branches as pull request branches. by @rolfbjarne in #24823
- [sharpie] Add the sharpie nupkg version to 'make show-versions'. by @rolfbjarne in #24827
- [ObjCRuntime] Fix GC race in RetainAndAutoreleaseHandle causing intermittent SIGSEGV by @rolfbjarne in #24814
- [sharpie] Add support for visionos_app_extension availability platform. Fixes #18098. by @rolfbjarne in #24828
- [msbuild] Fix race condition when generating MSBStrings.Designer.cs by @rolfbjarne in #24826
- [skills] Add a "macios-xcode-beta-update" skill by @dalexsoto in #24818
- [msbuild] Fix incremental build for Metal shaders. Fixes #24816. by @rolfbjarne in #24829
- [net11.0] Add CoreCLR and R2R framework to post-processing for symbol stripping by @kotlarmilos in #24678
- [msbuild] Don't pass symbol file to strip when _ExportSymbolsExplicitly=false. Fixes #24582. by @rolfbjarne in #24800
- [dotnet] Add support for @(RuntimeEnvironmentVariable). by @rolfbjarne in #24824
- [Foundation] Improve NSArray.ArrayFromHandle significantly. by @rolfbjarne in #24808
- [skills] Add CI failure inspector skill by @dalexsoto in #24846
- [system-dependencies] Update the check for the Metal too...
.NET 10 - Xcode 26.3 support (26.2.10233)
Note
- Xcode 26.3 is required with this release. Xcode 26.3 requires macOS 15.6+.
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: 26.2.10233
- tvOS: 26.2.10233
- macOS: 26.2.10233
- Mac Catalyst: 26.2.10233
Installation
You can use workload set version 10.0.202 in order to install these versions of the SDKs.
Please make sure to be using the latest .NET SDK 10.0.202 before issuing the dotnet workload install command below. You can validate your installed dotnet version using dotnet --version do make sure it shows 10.0.202 before proceeding.
dotnet workload install <workload id(s)> --version 10.0.202Available workload ids
- ios
- tvos
- macos
- maccatalyst
- android (see https://github.com/dotnet/android)
- maui (see https://github.com/dotnet/maui)
Example command installing all listed workloads.
dotnet workload install ios tvos macos maccatalyst maui android --version 10.0.202You can use dotnet workload --info to validate the workload versions installed in your system.
Full release notes: https://github.com/dotnet/macios/wiki/.NET-10-release-notes
What's Changed
- [release/10.0.1xx] Include .mobile.props for DTB (fix for VS Code) by @rolfbjarne in #24804
- [release/10.0.1xx] [system-dependencies] Update the check for the Metal toolchain to update if an update is available. by @rolfbjarne in #24857
- [release/10.0.1xx] Bump mlaunch to get fix for #24935. by @rolfbjarne in #24955
- [release/10.0.1xx] Bump to Xcode 26.3 Stable by @dalexsoto in #25000
Full Changelog: dotnet-10.0.1xx-xcode26.2-10217...dotnet-10.0.1xx-xcode26.2-10233
.NET 9 - Xcode 26.3 support (26.2.9008)
Note
- Xcode 26.3 is required with this release. Xcode 26.3 requires macOS 15.6+.
- This release add Xcode 26.3 build support, no new APIs has been added.
This is a servicing release to the previous .NET 9 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:
Installation
You can use workload set version 9.0.313 in order to install these versions of the SDKs.
Please make sure to be using the latest .NET SDK 9.0.313 before issuing the dotnet workload install command below. You can
validate your installed dotnet version using dotnet --version do make sure it shows 9.0.313 or greater before proceeding.
dotnet workload install <workload id(s)> --version 9.0.313Available workload ids
- ios
- tvos
- macos
- maccatalyst
- android (see https://github.com/dotnet/android)
- maui (see https://github.com/dotnet/maui)
Example command installing all listed workloads.
dotnet workload install ios tvos macos maccatalyst maui android --version 9.0.313You can use dotnet workload --info to validate the workload versions installed in your system.
What's Changed
- [release/9.0.1xx] Bump to Xcode 26.3. by @rolfbjarne in #24796
- [release/9.0.1xx] [system-dependencies] Update the check for the Metal toolchain to update if an update is available. by @rolfbjarne in #24858
- [release/9.0.1xx] [tests] Fix arm64 - Mac Tahoe (26) condition by @rolfbjarne in #24865
- [release/9.0.1xx] Bump mlaunch to get fix for #24935. by @rolfbjarne in #24953
Full Changelog: dotnet-9.0.1xx-xcode26.2.9000...dotnet-9.0.1xx-xcode26.2.9008
Sharpie 26.3.0.11
We're excited to announce the first preview release of a major upgrade to Objective-Sharpie!
Main changes
- Open source
- Shipped as a .NET tool
- Updated to use a much newer version of Clang (21), which also means it's possible to use the latest versions of Xcode.
- Updated to use ClangSharp instead of a custom clang integration.
Our documentation has been updated as well: https://learn.microsoft.com/dotnet/maui/ios/objective-sharpie/
Installation
Install like this:
$ dotnet tool install -g Sharpie.Bind.Tool
You can invoke the tool using the following command: sharpie
Tool 'sharpie.bind.tool' (version '26.3.0.11') was successfully installed.
Important
If the old sharpie is still installed, it might be found when executing sharpie:
$ sharpie --version
3.5.126-e5d8c166 # this is the old sharpiesharpie --version
dotnet-sharpie 26.3.0.11 # this is the new sharpieRunning this should make the new sharpie take precedence (this won't actually uninstall the old sharpie, just remove the convenience script in "/usr/local/bin/sharpie"):
$ sudo rm -f /usr/local/bin/sharpieUsage
Use it to bind a framework like this:
$ sharpie bind --framework path/to/my.framework --output output-directoryFor more information see https://learn.microsoft.com/dotnet/maui/ios/objective-sharpie/.
Please test and file any issues here!
.NET 11.0.1xx Preview 2 (11428)
We're excited to announce our second preview release for .NET 11!
Note
- Xcode 26.2 is required with this release. Xcode 26.2 requires macOS 15.6+.
If you are using Xcode 26.3 you need to set this msbuild propertyValidateXcodeVersion=falsein order to skip the Xcode check. Xcode 26.2 and 26.3 have identical SDKs.
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: 26.2.11425-net11-p2
- tvOS: 26.2.11425-net11-p2
- Mac Catalyst: 26.2.11425-net11-p2
- macOS: 26.2.11425-net11-p2
Full release notes: .NET 11 release notes
Known issues: Known issues in .NET 11
Installation
You can use workload set version 11.0.100-preview.2.26160.1 in order to install these versions of the SDKs, please make sure to be using the first preview of the .NET SDK 11.0.100 before issuing the dotnet workload install command below. You can validate your installed dotnet version using dotnet --version do make sure it shows 11.0.100 or greater before proceeding.
dotnet workload install <workload id(s)> --version 11.0.100-preview.2.26160.1Available workload ids
- ios
- tvos
- macos
- maccatalyst
- android (see https://github.com/dotnet/android)
- maui (see https://github.com/dotnet/maui)
Example command installing all listed workloads.
dotnet workload install ios tvos macos maccatalyst maui android --version 11.0.100-preview.2.26160.1You can use dotnet workload --info to validate the workload versions installed in your system.
New features
(Experimental) CoreCLR
We've added support for using CoreCLR as the runtime for iOS, tvOS and Mac Catalyst.
Most apps will see:
- Smaller app size.
- Faster launch and runtime execution.
- Faster builds, both for debug and release.
We're looking for early testers to ensure everything works as expected - using CoreCLR should be a drop-in replacement (it's been the runtime on macOS since .NET 6)
To enable, add this to your project file:
<!-- Use CoreCLR on iOS -->
<PropertyGroup Condition="$([MSBuild]::GetTargetPlatformIdentifier('$(TargetFramework)')) == 'ios'">
<UseMonoRuntime>false</UseMonoRuntime>
</PropertyGroup>
<!-- Use CoreCLR on tvOS -->
<PropertyGroup Condition="$([MSBuild]::GetTargetPlatformIdentifier('$(TargetFramework)')) == 'tvos'">
<UseMonoRuntime>false</UseMonoRuntime>
</PropertyGroup>
<!-- Use CoreCLR on Mac Catalyst -->
<PropertyGroup Condition="$([MSBuild]::GetTargetPlatformIdentifier('$(TargetFramework)')) == 'maccatalyst'">
<UseMonoRuntime>false</UseMonoRuntime>
</PropertyGroup>Please try this in your applications and report any issues, either if something doesn't work, or if app size or runtime performance is worse.
Known issues (these will be fixed in a future preview):
- Debugging isn't supported yet
- Some runtime diagnostics features aren't fully functional yet
This is an experimental feature and not intended for production use yet.
What's Changed
- [bgen] Preserve all public methods supporting protocol methos as events. Fixes #24236. by @rolfbjarne in #24566
- [CoreVideo] Expose CVPixelBufferAttributes.AllocateWithIOSurface|MetalCompatibility on macOS. Fixes #24584. by @rolfbjarne in #24590
- [dotnet-linker] Mark field references in trimmed INativeObject/NSObject constructors. Fixes #24663. by @rolfbjarne in #24687
- [dotnet] Add support for CoreCLR when building from Windows. Fixes #24504. by @rolfbjarne in #24521
- [dotnet] Add support for transforming CoreCLR's dylibs to frameworks when building for device. by @rolfbjarne in #24506
- [dotnet] Disable any default 'PublishRuntimeIdentifier' values. by @rolfbjarne in #24562
- [dotnet] Fix building with NativeAOT remotely from Windows. Fixes #21808. by @rolfbjarne in #24623
- [dotnet] Fix handling binding frameworks embedded in binding assemblies remotely. by @rolfbjarne in #24518
- [dotnet] Fix support for startup hooks. Fixes #24492. by @rolfbjarne in #24664
- [Foundation] Improve NSArray.From[NS]Objects slightly. by @rolfbjarne in #24569
- [Foundation] Improve NSArray.FromStrings a bit. by @rolfbjarne in #24583
- [Foundation] Improve NSArray.StringArrayFromHandle a bit. by @rolfbjarne in #24640
- [Foundation] Unify the FromObjectsAndKeys implementations for creating dictionaries. by @rolfbjarne in #24556
- [MediaAccessibility] Tweak nullability in MACaptionAppearance. by @rolfbjarne in #24581
- [msbuild/dotnet] Add support for listing the devices and simulators available to run on. by @rolfbjarne in #24542
- [msbuild] Add a XamarinTask.SdkDevPath property and deduplicate a lot of code in child classes. by @rolfbjarne in #24523
- [msbuild] Add support for ACToolPath, IBToolPath and TextureAtlasPath. by @rolfbjarne in #24549
- [msbuild] Add the latest .NET version as a target framework for MSBuild projects by @rolfbjarne in #24522
- [msbuild] Automatically set DEVELOPER_DIR for all child processes. by @rolfbjarne in #24541
- [msbuild] Fix finding applicable simulator devices in GetMlaunchArguments task. by @rolfbjarne in #24610
- [msbuild] Fix listing devices with no udid. Fixes #24605. by @rolfbjarne in #24607
- [msbuild] Fix missing character in log message. by @rolfbjarne in #24635
- [msbuild] It seems that the 'get-task-allow' entitlement is allowed on all platforms. by @rolfbjarne in #24636
- [msbuild] Show a warning if SdkDevPath hasn't been set and we're executing a process. by @rolfbjarne in #24555
- [mtouch/dotnet-linker] Enable nullability in most files and fix any issues. by @rolfbjarne in #24565
- [net11.0] Enable launch time logging with environment variable by @kotlarmilos in #24656
- [net11.0] Exclude debug libraries in Release builds by @kotlarmilos in #24680
- [net11.0] Fix building .NET 10 projects. Fixes #24417. by @rolfbjarne in #24633
- [net11.0] Only create frameworks for dylibs on iOS and tvOS. by @rolfbjarne in #24632
- [net11.0] Update default linking for CoreCLR by @kotlarmilos in #24654
- [src] Remove redundant null checks before Class.GetHandle(Type) by @rolfbjarne in #24695
- [tools] Enable nullability in the registrars. by @rolfbjarne in #24589
- [tools] Remove the IntPtr.Size inline optimization. by @rolfbjarne in #24597
- [UIKit] Enable nullability and clean up UIAccessibility. by @rolfbjarne in #24568
- [UIKit] Enable nullability and clean up UIAccessibilityCustomAction. by @rolfbjarne in #24580
- [UIKit] Enable nullability and clean up UIActionSheet. by @rolfbjarne in #24593
- [UIKit] Enable nullability and clean up UIAppearance. by @rolfbjarne in #24596
- [UIKit] Enable nullability and clean up UICollectionView. by @rolfbjarne in #24599
- [UIKit] Enable nullability and clean up UICollectionViewLayoutAttributes. by @rolfbjarne in #24606
- [UIKit] Enable nullability and clean up UIControl. by @rolfbjarne in #24608
- [UIKit] Enable nullability and clean up UIDragDropSessionExtensions. by @rolfbjarne in #24609
- [UIKit] Enable nullability and clean up UIFont. by @rolfbjarne in #24637
- [UIKit] Enable nullability and clean up UIFontDescriptor. by @rolfbjarne in #24642
- [UIKit] Enable nullability and clean up UIGraphics. by @rolfbjarne in #24655
- [UIKit] Enable nullability and clean up UIGuidedAccessRestriction. by @rolfbjarne in...
.NET 10 - Xcode 26.2 support (26.2.10217)
Note
- Xcode 26.2 is required with this release. Xcode 26.2 requires macOS 15.6+.
If you are using Xcode 26.3 you need to set this msbuild propertyValidateXcodeVersion=falsein order to skip the Xcode check. Xcode 26.2 and 26.3 have identical SDKs.
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: 26.2.10217
- tvOS: 26.2.10217
- macOS: 26.2.10217
- Mac Catalyst: 26.2.10217
Installation
You can use workload set version 10.0.200 in order to install these versions of the SDKs.
Please make sure to be using the latest .NET SDK 10.0.200 before issuing the dotnet workload install command below. You can validate your installed dotnet version using dotnet --version do make sure it shows 10.0.200 before proceeding.
dotnet workload install <workload id(s)> --version 10.0.200Available workload ids
- ios
- tvos
- macos
- maccatalyst
- android (see https://github.com/dotnet/android)
- maui (see https://github.com/dotnet/maui)
Example command installing all listed workloads.
dotnet workload install ios tvos macos maccatalyst maui android --version 10.0.200You can use dotnet workload --info to validate the workload versions installed in your system.
Full release notes: https://github.com/dotnet/macios/wiki/.NET-10-release-notes
What's Changed
- [release/10.0.1xx] [bgen] Preserve all public methods supporting protocol methods as events. Fixes #24236. by @rolfbjarne in #24576
- [release/10.0.1xx] [dotnet-linker] Mark field references in trimmed INativeObject/NSObject constructors. Fixes #24663. by @rolfbjarne in #24689
- [release/10.0.1xx] Bring back arcade script files by @adamzip in #24742
- [release/10.0.1xx] [Foundation] Treat any exception during X509Chain.Build as a remote certificate chain error. Fixes #24739. by @rolfbjarne in #24757
- [release/10.0.1xx] Hardcode our manifest version band to 10.0.100 by @dalexsoto in #24779
- [release/10.0.1xx] Track .NET 9/Xcode 26.2 instead of .NET 9/Xcode 26.0 by @rolfbjarne in #24786
Full Changelog: dotnet-10.0.1xx-xcode26.2-10197...dotnet-10.0.1xx-xcode26.2-10217
.NET 9 - Xcode 26.2 support (26.2.9000)
Note
- Xcode 26.2 is required with this release. Xcode 26.2 requires macOS 15.6+.
- If you are using Xcode 26.3 you need to set this msbuild property
ValidateXcodeVersion=falsein order to skip the Xcode check. Xcode 26.2 and 26.3 have identical SDKs. - This release add Xcode 26.2 build support, no new APIs has been added.
This is a servicing release to the previous .NET 9 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:
Installation
You can use workload set version 9.0.312 in order to install these versions of the SDKs.
Please make sure to be using the latest .NET SDK 9.0.312 before issuing the dotnet workload install command below. You can
validate your installed dotnet version using dotnet --version do make sure it shows 9.0.312 or greater before proceeding.
dotnet workload install <workload id(s)> --version 9.0.312Available workload ids
- ios
- tvos
- macos
- maccatalyst
- android (see https://github.com/dotnet/android)
- maui (see https://github.com/dotnet/maui)
Example command installing all listed workloads.
dotnet workload install ios tvos macos maccatalyst maui android --version 9.0.312You can use dotnet workload --info to validate the workload versions installed in your system.
What's Changed
- [release/9.0.1xx] [dotnet] Fix handling binding frameworks embedded in binding assemblies remotely. by @rolfbjarne in #24548
- [release/9.0.1xx] [Foundation] Treat any exception during X509Chain.Build as a remote certificate chain error. Fixes #24739. by @rolfbjarne in #24758
- [release/9.0.1xx] Bump to Xcode 26.2. by @rolfbjarne in #24737
Full Changelog: dotnet-9.0.1xx-xcode26.0-9785...dotnet-9.0.1xx-xcode26.2.9000
.NET 11.0.1xx Preview 1 (11315)
We're excited to announce our first preview release for .NET 11!
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: 26.2.11315-net11-p1
- tvOS: 26.2.11315-net11-p1
- Mac Catalyst: 26.2.11315-net11-p1
- macOS: 26.2.11315-net11-p1
Full release notes: .NET 11 release notes
Known issues: Known issues in .NET 11
Installation
You can use workload set version 11.0.100-preview.1.26109.8 in order to install these versions of the SDKs, please make sure to be using the first preview of the .NET SDK 11.0.100 before issuing the dotnet workload install command below. You can validate your installed dotnet version using dotnet --version do make sure it shows 11.0.100 or greater before proceeding.
dotnet workload install <workload id(s)> --version 11.0.100-preview.1.26109.8Available workload ids
- ios
- tvos
- macos
- maccatalyst
- android (see https://github.com/dotnet/android)
- maui (see https://github.com/dotnet/maui)
Example command installing all listed workloads.
dotnet workload install ios tvos macos maccatalyst maui android --version 11.0.100-preview.1.26109.8You can use dotnet workload --info to validate the workload versions installed in your system.
What's Changed
- [net11.0] Enable CoreCLR for all platforms. by @rolfbjarne in #23977
- [net11.0] Drop support for .NET 9. by @rolfbjarne in #24388
- [net11.0] [dotnet] Don't allow setting PublishTrimmed to any value. by @rolfbjarne in #24335
- [tests] Add an AppSizeTest variation for CoreCLR, both with and without R2R. by @rolfbjarne in #24390
- [net11.0] Enable CoreCLR tests on x64. by @rolfbjarne in #24421
- [net11.0] Prevent bundling/linking with libclrjit.dylib for CoreCLR on Apple mobile platforms. by @rolfbjarne in #24429
- [Foundation] Fix nullability in NSLocale. by @rolfbjarne in #24433
- [Foundation] Fix nullability in NSKeyedArchiver. by @rolfbjarne in #24436
- [Foundation] Fix nullability in NSMutableSet. by @rolfbjarne in #24422
- [Foundation] Fix nullability in NSMutableAttributedString. by @rolfbjarne in #24431
- [Foundation] Fix nullability in NSConnection. by @rolfbjarne in #24438
- [Foundation] Fix nullability in NSMutableDictionary. by @rolfbjarne in #24428
- [msbuild] Pass the XamarinTask instance along when calling CompressionHelper.TryCompress. by @rolfbjarne in #24439
- [net11.0] Bump min macOS to 14.0, and iOS/tvOS to 13.0. Fixes #23784. by @rolfbjarne in #24420
- [Foundation] Fix nullability in NSLayoutConstraint. by @rolfbjarne in #24434
- [Foundation] Fix nullability in NSMutableSet. by @rolfbjarne in #24419
- [main] Update dependencies from dotnet/xharness by @dotnet-maestro[bot] in #24453
- [main] Update dependencies from dotnet/macios by @dotnet-maestro[bot] in #24460
- [net11.0] Disable CoreCLR tests on x64. by @rolfbjarne in #24451
- [net11.0] Update dependencies from dotnet/dotnet by @dotnet-maestro[bot] in #24446
- [Foundation] Fix nullability in NSDictionary<TKey,TValue>. by @rolfbjarne in #24457
- [docs] Move the docs about ReferenceNativeSymbol in the correct file. by @rolfbjarne in #24462
- [net11.0] Add dependency/support for .NET 10 Xcode 26.2 packages. by @rolfbjarne in #24435
- [msbuild] Remove the SdkBinPath and SdkUsrPath properties. by @rolfbjarne in #24450
- [dotnet] Fix computing the app bundle location for 'dotnet run' for desktop apps. by @rolfbjarne in #24468
- [docs] Add a step to API docs publishing about flipping monikers from 'prelease' to 'live'. by @rolfbjarne in #24465
- [apidiff] Update reference/stable versions to .NET 10 / Xcode 26.2. by @rolfbjarne in #24463
- Localized file check-in by OneLocBuild Task: Build definition ID 14411: Build ID 12987286 by @vs-mobiletools-engineering-service2 in #24472
- [Foundation] Fix nullability in NSMutableDictionary<TKey, TValue>. by @rolfbjarne in #24458
- [AuthenticationServices] ASAuthorizationPlatformPublicKeyCredentialAssertionRequest is no longer gone. by @rolfbjarne in #24477
- [Foundation] Fix nullability in NSDictionary. by @rolfbjarne in #24478
- Correct iOS to iOS and tvOS in build properties by @igormoiseev in #24485
- [Foundation] Fix nullability in NSObject. by @rolfbjarne in #24481
- [net11.0] [dotnet] Fix computing _LibMonoLinkMode when not using Mono. by @rolfbjarne in #24488
- [main] Update dependencies from dotnet/xharness by @dotnet-maestro[bot] in #24475
- [src] Remove the NO_SYSTEM_DRAWING conditional compilation define, it's never set. by @rolfbjarne in #24479
- [msbuild/dotnet] Add support for listing the devices and simulators available to run on. by @rolfbjarne in #24279
- [tests] BitmapContextTest.AdaptiveTest to not crash. by @rolfbjarne in #24500
- [SceneKit] Distribute nullability for a few properties. by @rolfbjarne in #24496
- [GLKit] Fix nullability for GLKMesh.FromAssets. by @rolfbjarne in #24498
- [src] Fix make quietness inside templates. by @rolfbjarne in #24505
- [Foundation] Improve NSArray.FromIntPtrs slightly. by @rolfbjarne in #24501
- [tests] Use existing 'SecIdentity.Import' API instead of manually trying to do the same thing. by @rolfbjarne in #24432
- [main] Update dependencies from dotnet/xharness by @dotnet-maestro[bot] in #24507
- [CarPlay] Remove extraneous [Deprecated] on a CPGridButton ctor. Fixes #24491. by @rolfbjarne in #24497
- [msbuild] Be explicit about string comparisons. by @rolfbjarne in #24513
- [dotnet] Add support for ReadyToRun. by @rolfbjarne in #24437
- [Foundation] Improve NSArray.FromNativeObjects slightly. by @rolfbjarne in #24509
- [msbuild] Simplify DetectSdkLocation to not detect whether we're building for the simulator or not. by @rolfbjarne in #24514
- [AudioUnit] Simplify code and fix leak in AudioComponent.ComponentList. by @rolfbjarne in #24511
- [msbuild] Avoid using deprecated API by @rolfbjarne in #24512
- [dotnet] Set the default RuntimeIdentifier for publishing scenarios. by @rolfbjarne in #24329
- [net11.0] Bump min Mac Catalyst to 17.0. Fixes #23784. by @rolfbjarne in #24515
- [devops] Fix a few issues with pwsh tests and test result parsing. by @rolfbjarne in #24516
- Use the full GitHub url for submodules. by @rolfbjarne in #24517
- [net11.0] Merge main into net11.0. by @rolfbjarne in #24519
- [tests] Delete most legacy msbuild tests. by @rolfbjarne in #24520
- [tests] Migrate Cecil tests to NUnit v4. by @rolfbjarne in #24525
- [devops] macOS 12 is macOS Monterey. by @rolfbjarne in #24529
- [release/11.0.1xx-preview1] Merge branch 'net11.0' into 'release/11.0.1xx-preview1' by @rolfbjarne in #24561
- [release/11.0.1xx-preview1] [dotnet] Fix publish BAR manifest step by @rolfbjarne in #24577
- [release/11.0.1xx-preview1] [msbuild] Fix listing de...
.NET 10 - Xcode 26.2 support (26.2.10197)
Note
- Xcode 26.2 is required with this release. Xcode 26.2 requires macOS 15.6+.
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: 26.2.10197
- tvOS: 26.2.10197
- macOS: 26.2.10197
- Mac Catalyst: 26.2.10197
Installation
You can use workload set version 10.0.103 in order to install these versions of the SDKs.
Please make sure to be using the latest .NET SDK 10.0.103 before issuing the dotnet workload install command below. You can validate your installed dotnet version using dotnet --version do make sure it shows 10.0.103 before proceeding.
dotnet workload install <workload id(s)> --version 10.0.103Available workload ids
- ios
- tvos
- macos
- maccatalyst
- android (see https://github.com/dotnet/android)
- maui (see https://github.com/dotnet/maui)
Example command installing all listed workloads.
dotnet workload install ios tvos macos maccatalyst maui android --version 10.0.103You can use dotnet workload --info to validate the workload versions installed in your system.
Full release notes: https://github.com/dotnet/macios/wiki/.NET-10-release-notes
What's Changed
- [release/10.0.1xx] [dotnet] Disable any default 'PublishRuntimeIdentifier' values. by @rolfbjarne in #24563
Full Changelog: dotnet-10.0.1xx-xcode26.2-10196...dotnet-10.0.1xx-xcode26.2-10197