Without this, I can't install/open Unreal Engine on my iMac OS 26.2 Tahoe.
I can't even download the Metal Toolchain in Xcode-Settings-Components. It fails every time.
when I try to open Unreal Engine, it says this:
Xcode Metal Compiler error: error: error: cannot execute tool 'metal' due to missing Metal Toolchain; use: xcodebuild -downloadComponent MetalToolchain
But every time I try to download Metal Toolchain in terminal, it says this:
xcodebuild: error: Failed fetching catalog for assetType (com.apple.MobileAsset.MetalToolchain), serverParameters ({
RequestedBuild = 17C48;
})
% sudo xcode-select --reset
xcrun -f metallib
Password:
xcrun: error: sh -c '/Applications/Xcode.app/Contents/Developer/usr/bin/xcodebuild -sdk /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk -find metallib 2> /dev/null' failed with exit code 17664: (null) (errno=No such file or directory)
xcrun: error: unable to find utility "metallib", not a developer tool or in PATH
Topic:
Developer Tools & Services
SubTopic:
Xcode