Download legacy iOS runtimes before selecting latest Xcode (#384)

This commit is contained in:
Yibo Zhuang
2026-09-21 23:00:39 -07:00
committed by GitHub
parent 6570628f94
commit 2ff087f9f0
+9 -8
View File
@@ -191,14 +191,7 @@ build {
}
}
provisioner "shell" {
inline = [
"source ~/.zprofile",
"sudo xcode-select -s /Applications/Xcode_${var.xcode_version[0]}.app/Contents/Developer",
"xcodebuild -downloadAllPlatforms",
]
}
// Download legacy iOS runtimes before selecting the newest Xcode.
provisioner "shell" {
inline = concat(
["source ~/.zprofile"],
@@ -208,6 +201,14 @@ build {
)
}
provisioner "shell" {
inline = [
"source ~/.zprofile",
"sudo xcode-select -s /Applications/Xcode_${var.xcode_version[0]}.app/Contents/Developer",
"xcodebuild -downloadAllPlatforms",
]
}
provisioner "shell" {
inline = concat(
["source ~/.zprofile"],