Skip to content

Commit

Permalink
require create
Browse files Browse the repository at this point in the history
  • Loading branch information
ajaxjiang96 committed Apr 10, 2023
1 parent bdbf1f3 commit 9cf5bee
Showing 1 changed file with 8 additions and 10 deletions.
18 changes: 8 additions & 10 deletions fastlane/Fastfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,20 +6,18 @@ platform :ios do
decode_file

keychain_password = SecureRandom.uuid

begin
create_keychain(
name: 'ios-build.keychain',
password: keychain_password,
default_keychain: true,
unlock: true,
timeout: 3600
)
delete_keychain(name: 'ios-build.keychain')
rescue => ex
UI.error(ex)
ensure
delete_keychain(name: 'ios-build.keychain')
end
create_keychain(
name: 'ios-build.keychain',
password: keychain_password,
default_keychain: true,
unlock: true,
timeout: 3600
)

if @is_split_cer
import_certificate(
Expand Down

0 comments on commit 9cf5bee

Please sign in to comment.