From 737ec11503aed1fc2fc89cf757bc67707628a057 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Malo=20L=C3=A9on?= Date: Mon, 14 Aug 2023 13:39:21 +0200 Subject: [PATCH] fix: fix keychain name when trying to delete --- .../fastlane/plugin/ios_cd/actions/build_and_deploy_action.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/fastlane-plugin-ios_cd/lib/fastlane/plugin/ios_cd/actions/build_and_deploy_action.rb b/plugins/fastlane-plugin-ios_cd/lib/fastlane/plugin/ios_cd/actions/build_and_deploy_action.rb index 972175d..7b5a44a 100644 --- a/plugins/fastlane-plugin-ios_cd/lib/fastlane/plugin/ios_cd/actions/build_and_deploy_action.rb +++ b/plugins/fastlane-plugin-ios_cd/lib/fastlane/plugin/ios_cd/actions/build_and_deploy_action.rb @@ -36,7 +36,7 @@ module Fastlane Helper::IosCdHelper.check_required_fields(required_fields, creds.keys) # Delete keychain if existing - if File.exist?(File.expand_path("~/Library/Keychains/#{name}-db")) + if File.exist?(File.expand_path("~/Library/Keychains/#{creds['temp_keychain_user']}-db")) other_action.delete_keychain( name: creds['temp_keychain_user'].to_s ) -- 2.47.2