Skip to content

dotnet workload install fetches outdated maui-ios version, forcing Xcode downgrade #34295

Description

@TimBarton

Description

On a clean macOS system with the latest version of Xcode (e.g., 26.3), running dotnet workload install maui for the .NET 10 SDK (10.0.103) downloads an outdated version of the maui-ios workload (specifically, one that requires Xcode 26.2).

This forces an immediate build failure with the error: error: This version of .NET for iOS (26.2.10197) requires Xcode 26.2. The current version of Xcode is 26.3.

The issue seems to be with the workload manifests being delivered to the installer, likely due to a regional CDN caching problem, as no amount of local troubleshooting resolves the issue.

Steps to Reproduce

Steps to Reproduce

Start with a clean macOS system with Xcode 26.3 installed.

Install the latest official .NET 10 SDK (e.g., 10.0.103 Arm64).

Run dotnet workload install maui.

Observe the installed workloads. It installs the Microsoft.iOS.Sdk.net10.0_26.2 pack (version 26.2.10197).

Try to build any .NET 10 MAUI project targeting iOS.

The build fails with the Xcode version mismatch error.

Troubleshooting Steps Attempted (All Failed)

We have exhaustively tried to resolve this locally, proving the issue is likely external. All of the following failed to solve the problem:

Running dotnet workload repair.

Running dotnet workload update (with and without --source nuget.org).

Manually deleting bin and obj folders.

Manually deleting ~/.dotnet, /usr/local/share/dotnet, and all global.json files.

Performing a complete uninstallation and reinstallation of all .NET SDKs multiple times.

Verifying no DOTNET_ environment variables or custom nuget.config files exist.

The only workaround was to manually downgrade Xcode to match the outdated workload version, which is not a sustainable solution.

Workload version: 10.0.103

Installed Workload Id Manifest Version Installation Source

maui 10.0.20/10.0.100 SDK 10.0.100

Link to public reproduction project repository

No response

Version with bug

10.0.20

Is this a regression from previous behavior?

Yes, this used to work in .NET MAUI

Last version that worked well

10.0.20

Affected platforms

macOS

Affected platform versions

No response

Did you find any workaround?

downgrading

Relevant log output

Metadata

Metadata

Assignees

No one assigned

    Labels

    t/bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions