From 74040f6870dc61d73271d6113f434ba31ca6c78a Mon Sep 17 00:00:00 2001 From: fedor Date: Sun, 27 Oct 2024 08:42:58 -0700 Subject: [PATCH] Sort Xcodes to always install the freshest first Seems it's leading to things like: > Unable to connect to simulator. --- templates/xcode.pkr.hcl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/xcode.pkr.hcl b/templates/xcode.pkr.hcl index d3cb23d..8844686 100644 --- a/templates/xcode.pkr.hcl +++ b/templates/xcode.pkr.hcl @@ -55,7 +55,7 @@ source "tart-cli" "tart" { locals { xcode_install_provisioners = [ - for version in sort(var.xcode_version, true) : { + for version in reverse(sort(var.xcode_version)) : { type = "shell" inline = [ "source ~/.zprofile",