XCode 26 Metal Compiler build error

Just downloaded XCode 26 and I see build fails despite Metal toolchain 26.0 downloaded. What am I missing?

cannot execute tool 'metal' due to missing Metal Toolchain; use: xcodebuild -downloadComponent MetalToolchain

I have the same issue, no matter if I installed it through the xcode settings component page, or trying to install it through that given command line command, xcrun metal just keeps telling me that same thing (I do have xcode-select -p pointing to the beta xcode).

XCode 26 Metal Compiler build error
 
 
Q