Explicitly install Metal toolchain for Xcode

It's not included by default in Xcode 26.

Change-Id: Ie1e11bdeba18c4ee1e00132fc4bc075b8218e1fc
Reviewed-by: Ville-Pekka Karhu <ville-pekka.karhu@qt.io>
This commit is contained in:
Tor Arne Vestbø
2025-07-05 12:08:24 +02:00
parent 17bcaae8bc
commit dc6d452a9d

View File

@@ -49,6 +49,9 @@ function InstallXCode() {
# -runFirstLaunch is valid in 9.x
sudo xcodebuild -runFirstLaunch || true
# Metal toolchain not included by default in Xcode 26
xcodebuild -downloadComponent MetalToolchain || true
echo "Enabling developer mode, so that using lldb does not require interactive password entry"
sudo /usr/sbin/DevToolsSecurity -enable