Install universal iOS simulator

Change-Id: Ic2c353a193515dc7d388a06ce911e146c8fea5bc
Reviewed-by: Simo Fält <simo.falt@qt.io>
This commit is contained in:
Tor Arne Vestbø
2026-06-22 12:23:05 +02:00
parent 9b7e7d5852
commit b7a2e3ba1c

View File

@@ -58,7 +58,12 @@ function InstallXCode() {
# Xcode 26 ships a more minimal base install
if ((majorVersion >= 26)); then
xcodebuild -downloadComponent MetalToolchain
xcodebuild -downloadPlatform iOS
if ((majorVersion >= 27)); then
# No more universal iOS simulator in Xcode 27
xcodebuild -downloadPlatform iOS
else
xcodebuild -downloadPlatform iOS -architectureVariant universal
fi
if [[ $(uname -m) == "arm64" ]]; then
xcodebuild -downloadPlatform visionOS
fi