From 9f061dacb43de97a954fdfd9998b15270a5e792a Mon Sep 17 00:00:00 2001 From: fedor Date: Sun, 27 Oct 2024 08:37:54 -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 94ca9bd..d3cb23d 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 var.xcode_version : { + for version in sort(var.xcode_version, true) : { type = "shell" inline = [ "source ~/.zprofile",