diff --git a/ios/fastlane/Fastfile b/ios/fastlane/Fastfile index 6fdc892..b9fb948 100644 --- a/ios/fastlane/Fastfile +++ b/ios/fastlane/Fastfile @@ -86,6 +86,9 @@ platform :ios do next unless ENV["CI"] keychain_path = ENV.fetch("MATCH_KEYCHAIN_NAME") + sh("security unlock-keychain -p #{ENV.fetch("MATCH_KEYCHAIN_PASSWORD").shellescape} #{keychain_path.shellescape}", log: false) + sh("security set-key-partition-list -S apple-tool:,apple:,codesign: -s -k #{ENV.fetch("MATCH_KEYCHAIN_PASSWORD").shellescape} #{keychain_path.shellescape}", log: false) + identities = sh("security find-identity -v -p codesigning #{keychain_path.shellescape}", log: false) UI.message(identities)