- Notifications
You must be signed in to change notification settings - Fork548
Open
Milestone
Description
Apple platform
iOS
Framework version
net10.0-*
Affected platform version
.NET 10.0.100
Description
Seems I can't get any recent version of XCode to build my app that uses MAUI 10.0.100 GA
The agent (macOS 15.7.1) has the following versions of xcode:
macOS version: 15.7.1Installed Xcode versions:Xcode_16.0.0.appXcode_16.0.appXcode_16.1.0.appXcode_16.1.appXcode_16.2.0.appXcode_16.2.appXcode_16.3.0.appXcode_16.3.appXcode_16.4.0.appXcode_16.4.appXcode_16.appXcode_26.0.1.appXcode_26.0.appXcode_26.1_Release_Candidate.appXcode_26.1.0.appXcode_26.1.appXcode.appSelecting 16.4:
/Users/runner/hostedtoolcache/dotnet/packs/Microsoft.iOS.Sdk.net10.0_26.1/26.1.10494/targets/Xamarin.Shared.Sdk.targets(2371,3): error : This version of .NET for iOS (26.1.10494) requires Xcode 26.1. The current version of Xcode is 16.4. Either install Xcode 26.1, or use a different version of .NET for iOS. See https://aka.ms/xcode-requirement for more information. [/Users/runner/work/1/s/xxxx.csproj::TargetFramework=net10.0-ios]Selecting 26.1:
/Users/runner/hostedtoolcache/dotnet/packs/Microsoft.iOS.Sdk.net10.0_26.1/26.1.10494/tools/msbuild/Xamarin.Shared.targets(1034,3): error : /usr/bin/xcrun exited with code 72: [/Users/runner/work/1/s/xxx/xxx.csproj::TargetFramework=net10.0-ios]/Users/runner/hostedtoolcache/dotnet/packs/Microsoft.iOS.Sdk.net10.0_26.1/26.1.10494/tools/msbuild/Xamarin.Shared.targets(1034,3): error : xcrun: error: sh -c '/Applications/Xcode_26.1.app/Contents/Developer/usr/bin/xcodebuild -sdk /Applications/Xcode_26.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk -find actool 2> /dev/null' failed with exit code 16384: (null) (errno=Invalid argument) [/Users/runner/work/1/s/xxx/xxx.csproj::TargetFramework=net10.0-ios]/Users/runner/hostedtoolcache/dotnet/packs/Microsoft.iOS.Sdk.net10.0_26.1/26.1.10494/tools/msbuild/Xamarin.Shared.targets(1034,3): error : xcrun: error: unable to find utility "actool", not a developer tool or in PATH [/Users/runner/work/1/s/xxx/xxx.csproj::TargetFramework=net10.0-ios]/Users/runner/work/1/s/xxx/obj/Release/net10.0-ios/iossimulator-x64/actool/cloned-assets/Assets.xcassets : error : xcrun: error: sh -c '/Applications/Xcode_26.1.app/Contents/Developer/usr/bin/xcodebuild -sdk /Applications/Xcode_26.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk -find actool 2> /dev/null' failed with exit code 16384: (null) (errno=Invalid argument) [/Users/runner/work/1/s/xxx/xxxx.csproj::TargetFramework=net10.0-ios]/Users/runner/work/1/s/xxx/obj/Release/net10.0-ios/iossimulator-x64/actool/cloned-assets/Assets.xcassets : error : xcrun: error: unable to find utility "actool", not a developer tool or in PATH [/Users/runner/work/1/s/xxx/xxx.csproj::TargetFramework=net10.0-ios]/Users/runner/work/1/s/xxx/obj/Release/net10.0-ios/iossimulator-x64/actool/cloned-assets/Assets.xcassets : error : [/Users/runner/work/1/s/xxx/xxx.csproj::TargetFramework=net10.0-ios]/Users/runner/hostedtoolcache/dotnet/packs/Microsoft.iOS.Sdk.net10.0_26.1/26.1.10494/tools/msbuild/Xamarin.Shared.targets(1034,3): error : actool exited with code 72 [/Users/runner/work/1/s/xxx/xxx.csproj::TargetFramework=net10.0-ios]/Users/runner/hostedtoolcache/dotnet/packs/Microsoft.iOS.Sdk.net10.0_26.1/26.1.10494/tools/msbuild/Xamarin.Shared.targets(1034,3): error : Failed to load actool log file `obj/Release/net10.0-ios/iossimulator-x64/actool/asset-manifest.plist`: Failed to parse PList data type: [/Users/runner/work/1/s/xxx/xxx.csproj::TargetFramework=net10.0-ios]Steps to Reproduce
Create an Azure DevOps task:
- task: Bash@3 displayName: 'Build iOS App' inputs: targetType: 'inline' script: | cd xxx # Determine target framework based on SDK version if [[ "$(DotNetSdkVersion)" == 10.* ]]; then TARGET_FRAMEWORK="net10.0-ios" else TARGET_FRAMEWORK="net9.0-ios" fi echo "Using target framework: $TARGET_FRAMEWORK" dotnet build ./xxx.csproj -f $TARGET_FRAMEWORK -c Release -r iossimulator-x64 -p:RuntimeIdentifier=iossimulator-x64 -p:EnableAssemblyILStripping=false -p:EnableCodeSigning=false -p:CodesignKey="" -p:CodesignProvision="" -p:CodesignEntitlements=""Did you find any workaround?
No response
Build logs
No response