MAUI 8 Supports Apple Xcode 16

Following its annual release cadence, Apple formally announced its updated hardware and software during the Apple Event in early September.

iOS and iPadOS have been upgraded to v18, while macOS has been elevated to v15, codenamed Sequoia. Additionally, the dev tool Apple Xcode has been updated to v16.

Regardless of the development framework, apps submitted to the App Store must always target the most recent iOS SDK. Therefore, support for the latest version of Xcode is crucial.

.NET MAUI has announced its support for Apple Xcode 16 in the stable channel of .NET 8 SDK. More details here.

For .NET 9, preview support is planned with the release of .NET 9 RC2, while official support is with the GA release of .NET 9 in November.

The recent .NET 9 RC2 release with preview support for Apple Xcode 16 is now available. You can update to this version by downloading and installing the latest SDK from the official SDK downloads page followed by the necessary workload installation.

To install this workload update, exclusive for Xcode 16, open the Terminal and execute the following command in the context of .NET 8.

Check the version of .NET:

dotnet --version

Note: In macOS, it is essential to prefix commands with sudo to elevate user privileges for workload install and update.

dotnet workload update

If not already installed, then it can be installed with the below command:

dotnet workload install ios

Then verify the below version of the workload is installed. The version that supports this Xcode 16 has the build # 8303.

dotnet workload list
.NET MAUI 8 - Workload update to support Apple Xcode 16
.NET MAUI 8 – Workload update to support Apple Xcode 16

Happy coding. Stay connected as we continue to learn and share the experiences from this exciting journey of being a .NET developer.

Share this post