From 8aab86e2a6b71bb3fe3e50f03b4b5800f796af01 Mon Sep 17 00:00:00 2001 From: James Magahern Date: Thu, 25 Jun 2026 23:10:35 -0700 Subject: [PATCH] Avoid changing default keychain in CI --- ios/fastlane/Fastfile | 2 -- 1 file changed, 2 deletions(-) diff --git a/ios/fastlane/Fastfile b/ios/fastlane/Fastfile index 803f01a..9269c09 100644 --- a/ios/fastlane/Fastfile +++ b/ios/fastlane/Fastfile @@ -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)