Unable to download Metal toolchain with Xcode Beta 5

I'm unable to download the Metal toolchain with Xcode. When trying to do it via the command line, I get the following:

> xcodebuild -downloadComponent metalToolchain -exportPath /tmp/MyMetalExport/
Beginning asset download...
2025-08-06 19:46:19.983 xcodebuild[1395:22024] Writing error result bundle to /var/folders/48/1k1jfsxn56zcs4qr_719rc1w0000gn/T/ResultBundle_2025-06-08_19-46-0019.xcresult
xcodebuild: error: Failed fetching catalog for assetType (com.apple.MobileAsset.MetalToolchain), serverParameters ({
    RequestedBuild = 17A5295f;
}) 

From Console.app:

DVTDownloadsFetchAssetCatalog() complete assetType (com.apple.MobileAsset.MetalToolchain), options: (MADownloadOptions allowsCellular: 0 resourceTimeout: 60 canUseCacheServer: 0 discretionary: 0 disableUI: 0 sessionId: (null) additionalServerParams:{ RequestedBuild = 17A5295f; } allowsExpensiveAccess:1 requiresPowerPluggedIn: 0 prefersInfraWiFi: 1 liveServerOnly: -1 DownloadAuthorizationHeader: not present analyticsData: not present allowDaemonConnectionRetries: 0), result: (59), catalogError: (Download failed due to not being able to find the host. (Catalog download for com.apple.MobileAsset.MetalToolchain))

Note that I am online. I've tried restarting my computer and Xcode and using a different network.

Answered by Engineer in 852698022

This issue has been resolved, relaunching Xcode will apply it.

"it didn't work for me"

Running the first command twice gives:

> sudo defaults delete com.apple.MobileAsset MobileAssetAssetAudience-com.apple.MobileAsset.MetalToolchain
2025-08-12 08:14:43.457 defaults[26816:5803374]
Domain (com.apple.MobileAsset) not found.
Defaults have not been changed.

Attempting to download the toolchain

> xcodebuild -downloadComponent metalToolchain
Beginning asset download...
2025-08-12 08:14:57.351 xcodebuild[26836:5803710] Writing error result bundle to /var/folders/sf/bh_0sswj14j6w11grfyt00000000gn/T/ResultBundle_2025-12-08_08-14-0057.xcresult
xcodebuild: error: Failed fetching catalog for assetType (com.apple.MobileAsset.MetalToolchain), serverParameters ({
    RequestedBuild = 17A5295f;
})

Still the same errors when attempting to fetch the toolchain

To help our analysis, could you provide the values of the following? sudo defaults read com.apple.MobileAsset | grep MetalToolchain ; sw_vers

We're wondering if any of those defaults are getting in the way of the download.

sudo defaults delete com.apple.MobileAsset EnableLiveAssetServerV2-com.apple.MobileAsset.MetalToolchain sudo defaults delete com.apple.MobileAsset PallasUrlOverrideV2-com.apple.MobileAsset.MetalToolchain

This Worked... able to install MetalToolchain now

After nuking these two items I was able to install Metal on macOS Sequoia 15.6.

sudo defaults delete com.apple.MobileAsset EnableLiveAssetServerV2-com.apple.MobileAsset.MetalToolchain
sudo defaults delete com.apple.MobileAsset PallasUrlOverrideV2-com.apple.MobileAsset.MetalToolchain

Thank you.

Unable to download Metal toolchain with Xcode Beta 5
 
 
Q