From da09f1c39b850f4b774d892cd2e68e10f03c722a Mon Sep 17 00:00:00 2001 From: Fedor Korotkov Date: Sat, 4 Jul 2026 18:04:47 -0400 Subject: [PATCH] Avoid Tuist cask validation during image builds --- templates/xcode.pkr.hcl | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/templates/xcode.pkr.hcl b/templates/xcode.pkr.hcl index c08af81..3ffe72a 100644 --- a/templates/xcode.pkr.hcl +++ b/templates/xcode.pkr.hcl @@ -232,9 +232,9 @@ build { "brew install libimobiledevice ideviceinstaller ios-deploy carthage", "brew install xcbeautify swiftformat swiftlint swiftgen licenseplist", "brew install mint", - "brew update", - "brew tap tuist/tuist", - "brew install --formula tuist", + "git clone --depth 1 https://github.com/tuist/homebrew-tuist.git \"$(brew --repository)/Library/Taps/tuist/homebrew-tuist\"", + "rm -rf \"$(brew --repository)/Library/Taps/tuist/homebrew-tuist/Casks\"", + "brew install --formula tuist/tuist/tuist", "rbenv install 3.3.10", "rbenv global 3.3.10", # fastlane conflicts with 3.4.0+ https://github.com/fastlane/fastlane/issues/29527 "gem update",