Skip to content

Commit

Permalink
Merge pull request #7 from inloco/update-xcode-14
Browse files Browse the repository at this point in the history
Update Xcode to 14.3.1
  • Loading branch information
paulolieuthier authored Sep 18, 2023
2 parents 377f75d + b548a16 commit cac9a93
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions pkr/runner.pkr.hcl
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ variable "brew-version" {

variable "xcode-version" {
type = string
default = "13.4.1"
default = "14.3.1"
}

source "vagrant" "runner" {
Expand All @@ -33,7 +33,7 @@ build {
"HOMEBREW_INSTALL_FROM_API=1 /private/tmp/brew.sh",
"rm -Rfv /private/tmp/brew.sh",

"HOMEBREW_INSTALL_FROM_API=1 brew install --formula jq mas skopeo xcinfo gh gnu-sed",
"HOMEBREW_INSTALL_FROM_API=1 brew install jq skopeo gh gnu-sed",

# don't install through brew because of installation errors
# "brew install --cask intel-haxm",
Expand All @@ -42,8 +42,6 @@ build {
"sudo bash haxm/silent_install.sh",
"rm -r haxm haxm.zip",

# "mas install 497799835",
# "xcinfo install ${var.xcode-version}",
"skopeo copy --debug --command-timeout 1h docker://docker.io/inloco/xcode:${var.xcode-version} dir:///private/tmp/Xcode.dir",
"tar -zxvf /private/tmp/Xcode.dir/$(jq -r '.layers[0].digest | split(\":\")[-1]' /private/tmp/Xcode.dir/manifest.json) -C /private/tmp",
"cd /Applications && xip -x /private/tmp/Xcode.xip",
Expand Down

0 comments on commit cac9a93

Please sign in to comment.