Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot build Maui 9 with macos-15 #11348

Open
2 of 16 tasks
sven-s opened this issue Jan 10, 2025 · 0 comments
Open
2 of 16 tasks

Cannot build Maui 9 with macos-15 #11348

sven-s opened this issue Jan 10, 2025 · 0 comments

Comments

@sven-s
Copy link

sven-s commented Jan 10, 2025

Description

I am trying to build a Maui 9 project with the following command line:

dotnet publish -f net9.0-ios -c Release -p:ArchiveOnBuild=true /p:RuntimeIdentifier=ios-arm64 cpm-app/cpm-app.csproj

I am also setting the xcode version to 16.2 via

sudo xcode-select -s /Applications/Xcode_16.2.0.app/Contents/Developer

but I get the following error i the build:

2025-01-10 14:51:35.165 xcodebuild[8338:37797] Writing error result bundle to /var/folders/sg/7ncxbtp941dd9ql29twtl6jw0000gn/T/ResultBundle_2025-10-01_14-51-0035.xcresult xcodebuild: error: SDK "/Applications/Xcode_16.2.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk" cannot be located. 2025-01-10 14:51:37.449 xcodebuild[8480:38140] Writing error result bundle to /var/folders/sg/7ncxbtp941dd9ql29twtl6jw0000gn/T/ResultBundle_2025-10-01_14-51-0037.xcresult xcodebuild: error: SDK "/Applications/Xcode_16.2.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk" cannot be located. xcrun: error: sh -c '/Applications/Xcode_16.2.0.app/Contents/Developer/usr/bin/xcodebuild -sdk /Applications/Xcode_16.2.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk -find actool 2> /dev/null' failed with exit code 16384: (null) (errno=No such file or directory) xcrun: error: unable to find utility "actool", not a developer tool or in PATH

Platforms affected

  • Azure DevOps
  • GitHub Actions - Standard Runners
  • GitHub Actions - Larger Runners

Runner images affected

  • Ubuntu 20.04
  • Ubuntu 22.04
  • Ubuntu 24.04
  • macOS 12
  • macOS 13
  • macOS 13 Arm64
  • macOS 14
  • macOS 14 Arm64
  • macOS 15
  • macOS 15 Arm64
  • Windows Server 2019
  • Windows Server 2022
  • Windows Server 2025

Image version and build link

20250106.547

Is it regression?

no

Expected behavior

The build should succeed

Actual behavior

The build fails

Repro steps

  • build a maui .net 9 project
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant