Skip to content

Commit

Permalink
update fastfile
Browse files Browse the repository at this point in the history
  • Loading branch information
ajaxjiang96 committed Apr 10, 2023
1 parent 2eb76a7 commit bdbf1f3
Showing 1 changed file with 13 additions and 7 deletions.
20 changes: 13 additions & 7 deletions fastlane/Fastfile
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,19 @@ platform :ios do

keychain_password = SecureRandom.uuid

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

if @is_split_cer
import_certificate(
Expand Down

0 comments on commit bdbf1f3

Please sign in to comment.