Created
June 14, 2025 03:30
-
-
Save BlueFalconHD/0284a1806546536ca35db70dc20502c7 to your computer and use it in GitHub Desktop.
If you are having issues getting Metal to work on macOS 26.0 developer beta, here are some things to do
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
sudo rm /Library/Developer/Xcode.app # remove old symlink | |
sudo ln -s /Applications/Xcode-26.0.0-Beta.app /Library/Developer/Xcode.app # new symlink | |
sudo xcode-select -s /Applications/Xcode-26.0.0-Beta.app # select | |
# delete possibly pre-existing | |
xcodebuild -deleteComponent metalToolchain | |
# fix described in apple release notes: https://developer.apple.com/documentation/xcode-release-notes/xcode-26-release-notes#Metal | |
xcodebuild -downloadComponent metalToolchain -exportPath /tmp/MyMetalExport/ | |
sed -i '' -e 's/17A5241c/17A5241e/g' /tmp/MyMetalExport/MetalToolchain-17A5241c.exportedBundle/ExportMetadata.plist | |
xcodebuild -importComponent metalToolchain -importPath /tmp/MyMetalExport/MetalToolchain-17A5241c.exportedBundle |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment