-
Notifications
You must be signed in to change notification settings - Fork 3.1k
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
Regression in macos-15-arm64/20241118.362
: xcodebuild: error: SDK "/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk" cannot be located.
#11021
Comments
HI @AkihiroSuda, We will look into the issue and keep you posted with updates. |
Hi @AkihiroSuda, The error is coming because of Xcode CLT was updated from 16.0 to 16.1. To find the macOS 15 arm64 SDKs, we need to select the xcode version as 16.1. Please find the code below.
Output: Hope this resolves issue ! Please free to reach out if any further questions. |
Thanks, is there any intentional reason that 16.1 isn't selected by default? |
Yes, we leave it to the users. Switching the default version on our side does not make much sense - each user is free to choose the version of |
So we need to select the xcode version before we run xcrun? This is reasonable workaround, but feels wrong. The xcodebuild and xcrun commands should work regardless of the currently selected xcode version. |
@nirs, xcodebuild will run using the default Xcode version for the specific image. For example, for macOS 14, the default version is 15.4, and for macOS 15, it is 16.0. If you wish to set 16.1 as the default, we can usually accommodate this upon request. |
Description
xcrun --show-sdk-version
began to fail inmacos-15-arm64/20241118.362
:https://github.com/lima-vm/lima/actions/runs/11926090231/job/33239305288
No error in 20241022.250.
https://github.com/lima-vm/lima/actions/runs/11924369458/job/33234574412
Platforms affected
Runner images affected
Image version and build link
https://github.com/actions/runner-images/releases/tag/macos-15-arm64%2F20241118.362
https://github.com/lima-vm/lima/actions/runs/11926090231/job/33239305288
Is it regression?
Yes
Expected behavior
xcrun --show-sdk-version
should successfully print the SDK versionActual behavior
xcrun --show-sdk-version
fails as above.Repro steps
xcrun --show-sdk-version
The text was updated successfully, but these errors were encountered: