Description
Running projects on terminal targeting iOS fails with MSB3073 error
Notes:
- We set the XCode both on global and VSCode as 26.3 as .NET 11 P3 is looking for XCode 26.3, it seems that it was looking for iOS 26.2
- iOS 26.2 is not appearing anymore on our XCode after installing iOS 26.3:
- We also tried deleting iOS 26.2 component to see if the iOS 26.2 would appear again but it still didn't work
- We can also reproduce the issue using .NET 10 with Xcode 26.2
- Specifying the simulator using device identifier would successfully deploy the app to iOS 26.3 simulator.
- This issue can be reproduced on MAUI/MAUI Blazor/iOS App.
Steps to Reproduce
- Install the .NET 11 Preview3 from here.
- Install MAUI workload from the rollback file along with the necessary feeds: 11.0.0-preview.3_rollback.json
- Create an empty folder name it "sample" and open it on terminal/CMD
- Run the command
dotnet new maui
- Run the command
dotnet build sample.csproj -f net11.0-ios
- Run the command
dotnet build sample.csproj -f net11.0-ios -t:Run
Actual Behavior:
There's a MSB3073: The command "/usr/local/share/dotnet/packs/Microsoft.iOS.Sdk.net11.0_26.2/26.2.11588-net11-p3/tools/bin/mlaunch --launchsim bin/Debug/net11.0-ios/iossimulator-arm64/sample.app/ --device :v2:runtime=com.apple.CoreSimulator.SimRuntime.iOS-26-2,devicetype=com.apple.CoreSimulator.SimDeviceType.iPad-Pro-11-inch-M5-12GB --stdout /dev/ttys004 --stderr /dev/ttys004 --wait-for-exit:true -- " exited with code 1. error
Expected Behavior:
The app should run using terminal without any errors or warnings.
Version with bug
.NET SDK 11.0.100-preview.3.26203.107
Is this a regression from previous behavior?
Yes, this is a regression. The issue cannot be repro on .NET SDK version 11.0.100-preview.2.26154.117.
Affected platforms
iOS
Description
Running projects on terminal targeting iOS fails with MSB3073 error
Notes:
Steps to Reproduce
dotnet new mauidotnet build sample.csproj -f net11.0-iosdotnet build sample.csproj -f net11.0-ios -t:RunActual Behavior:
There's a
MSB3073: The command "/usr/local/share/dotnet/packs/Microsoft.iOS.Sdk.net11.0_26.2/26.2.11588-net11-p3/tools/bin/mlaunch --launchsim bin/Debug/net11.0-ios/iossimulator-arm64/sample.app/ --device :v2:runtime=com.apple.CoreSimulator.SimRuntime.iOS-26-2,devicetype=com.apple.CoreSimulator.SimDeviceType.iPad-Pro-11-inch-M5-12GB --stdout /dev/ttys004 --stderr /dev/ttys004 --wait-for-exit:true -- " exited with code 1.errorExpected Behavior:
The app should run using terminal without any errors or warnings.
Version with bug
.NET SDK 11.0.100-preview.3.26203.107
Is this a regression from previous behavior?
Yes, this is a regression. The issue cannot be repro on .NET SDK version 11.0.100-preview.2.26154.117.
Affected platforms
iOS