All simulators for the last 3 versions of Xcode (#254)

This commit is contained in:
Fedor Korotkov
2025-07-23 16:44:14 -04:00
committed by GitHub
parent bc67673068
commit f7880705ec
+12
View File
@@ -167,6 +167,18 @@ build {
}
}
dynamic "provisioner" {
for_each = length(var.xcode_version) > 2 ? [2] : []
labels = ["shell"]
content {
inline = [
"source ~/.zprofile",
"sudo xcodes select '${var.xcode_version[2]}'",
"xcodebuild -downloadAllPlatforms",
]
}
}
dynamic "provisioner" {
for_each = length(var.xcode_version) > 1 ? [1] : []
labels = ["shell"]