fix(ios) use app_store_connect_api_key for Fastlane builds

This commit is contained in:
Saúl Ibarra Corretgé 2021-04-13 15:10:29 +02:00 committed by Saúl Ibarra Corretgé
parent 96e886d306
commit a256c6b8e7
1 changed files with 9 additions and 0 deletions

View File

@ -9,6 +9,15 @@ platform :ios do
# Make sure we are on a clean tree # Make sure we are on a clean tree
ensure_git_status_clean ensure_git_status_clean
# Connext to Apple Store Connect
app_store_connect_api_key(
key_id: ENV["ASC_KEY_ID"],
issuer_id: ENV["ASC_ISSUER_ID"],
key_content: ENV["ASC_KEY_CONTENT"],
duration: 1200,
in_house: false
)
# Set the app identifier # Set the app identifier
update_app_identifier( update_app_identifier(
xcodeproj: "app/app.xcodeproj", xcodeproj: "app/app.xcodeproj",