Post

Replies

Boosts

Views

Activity

Reply to Metal is not installed on Xcode 26 on Xcode Cloud
We're seeing very inconsistent results with Xcode 26.0.1. Have this in our pre-build script: if xcodebuild -showComponent metalToolchain >/dev/null 2>&1; then echo "Metal toolchain is installed" Which reports that the toolchain is installed, but then ~50% of the time we get this error when building a metal file in our of our local Swift Packages: error: error: cannot execute tool 'metal' due to missing Metal Toolchain; use: xcodebuild -downloadComponent MetalToolchain Command CompileMetalFile failed with a nonzero exit code It was working fine every time with Xcode 26.0 but that was just deprecated last night so we can no longer use it. Xcode 26.0.1 (17A400) macOS Tahoe 26 (25A354)
Oct ’25