mirror of
git://code.qt.io/qt/qt5.git
synced 2026-07-20 21:50:08 +08:00
Install universal iOS simulator
Change-Id: Ic2c353a193515dc7d388a06ce911e146c8fea5bc Reviewed-by: Simo Fält <simo.falt@qt.io>
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user