-
Notifications
You must be signed in to change notification settings - Fork 548
Open
Description
Description
Seems like the workloads are not correctly resolved, .Net 9 picks up the latest XCode 26.0
Used global json
{
"sdk": {
"version": "9.0.304",
"allowPrerelease": false,
"rollForward": "disable"
}
}
Microsoft.iOS.Sdk.net9.0_26.0/26.0.9752/targets/Xamarin.Shared.Sdk.targets(2346,3): error : This version of .NET for iOS (26.0.9752) requires Xcode 26.0. The current version of Xcode is 16.4. Either install Xcode 26.0, or use a different version of .NET for iOS. See https://aka.ms/xcode-requirement for more information.
Two weeks ago the same build used to work.
I also tried the 9.0.305, it only happens if I freshly install it.
Steps to Reproduce
- Add global json as above
- delete current dotnet version, including workloads
- Install dotnet 9.0.304 again
- dotnet new maui
- ensure xcode 16.4 is selected
- try build and deploy
Link to public reproduction project repository
No response
Version with bug
9.0.110 SR11
Is this a regression from previous behavior?
Yes, this used to work in .NET MAUI
Last version that worked well
9.0.110 SR11
Affected platforms
iOS
Affected platform versions
No response
Did you find any workaround?
No response
Relevant log output
JonasUJ, Rasmus-Davidsen-Ifs, TedMobile, bcaceiro, gabsamples6 and 3 moreVictoriaxNeacsu
Metadata
Metadata
Assignees
Labels
No labels