From 8b86f6a3773ae45f710179a6f1e47d84cf303cc8 Mon Sep 17 00:00:00 2001 From: Doug Date: Mon, 5 Aug 2024 18:16:12 +0100 Subject: [PATCH] Allow package plugins to run on CI. --- ci_scripts/ci_common.sh | 6 ++++++ fastlane/Fastfile | 1 - 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/ci_scripts/ci_common.sh b/ci_scripts/ci_common.sh index c82c0271dd..69cf65abd4 100755 --- a/ci_scripts/ci_common.sh +++ b/ci_scripts/ci_common.sh @@ -32,6 +32,9 @@ setup_xcode_cloud_environment () { install_xcode_cloud_brew_dependencies () { brew update && brew install xcodegen + # Allow Prefire and SwiftPackageList to run. + defaults write com.apple.dt.Xcode IDESkipPackagePluginFingerprintValidatation -bool YES + if [ "$CI_WORKFLOW" = "Nightly" ]; then brew install imagemagick@6 brew link imagemagick@6 # imagemagick@6 is keg-only, which means it was not symlinked into /usr/local, @@ -42,6 +45,9 @@ setup_github_actions_environment() { unset HOMEBREW_NO_INSTALL_FROM_API export HOMEBREW_NO_INSTALLED_DEPENDENTS_CHECK=1 + # Allow Prefire and SwiftPackageList to run. + defaults write com.apple.dt.Xcode IDESkipPackagePluginFingerprintValidatation -bool YES + brew update && brew install xcodegen swiftformat git-lfs a7ex/homebrew-formulae/xcresultparser if [ "$CI_WORKFLOW" = "PR_BUILD" ]; then diff --git a/fastlane/Fastfile b/fastlane/Fastfile index 0e67bc0b89..3703de1900 100644 --- a/fastlane/Fastfile +++ b/fastlane/Fastfile @@ -95,7 +95,6 @@ lane :unit_tests do |options| ensure_devices_found: true, result_bundle: true, number_of_retries: 3, - xcargs: '-skipPackagePluginValidation', ) end