Skip to content
This repository has been archived by the owner on Dec 19, 2024. It is now read-only.

Update Xcode to 14.3.1 #7

Merged
merged 3 commits into from
Sep 18, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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