Avoid changing default keychain in CI
Some checks failed
TestFlight / testflight (push) Failing after 25s

This commit is contained in:
2026-06-25 23:10:35 -07:00
parent eb4b233e33
commit 8aab86e2a6

View File

@@ -53,7 +53,6 @@ platform :ios do
resolved_keychain_path = ["#{keychain_path}-db", keychain_path].find { |path| File.exist?(path) } || keychain_path
sh("security default-keychain -s #{resolved_keychain_path.shellescape}", log: false)
sh("security list-keychains -d user -s #{resolved_keychain_path.shellescape}", log: false)
ENV["MATCH_KEYCHAIN_NAME"] = resolved_keychain_path
@@ -67,7 +66,6 @@ platform :ios do
keychain_password = ENV.fetch("MATCH_KEYCHAIN_PASSWORD")
sh("security unlock-keychain -p #{keychain_password.shellescape} #{keychain_path.shellescape}", log: false)
sh("security default-keychain -s #{keychain_path.shellescape}", log: false)
sh("security list-keychains -d user -s #{keychain_path.shellescape}", log: false)
sh("security set-key-partition-list -S apple-tool:,apple:,codesign: -s -k #{keychain_password.shellescape} #{keychain_path.shellescape}", log: false)