Browse Source

fix(ios) use app_store_connect_api_key for Fastlane builds

master
Saúl Ibarra Corretgé 4 years ago
parent
commit
a256c6b8e7
1 changed files with 9 additions and 0 deletions
  1. 9
    0
      ios/fastlane/Fastfile

+ 9
- 0
ios/fastlane/Fastfile View File

9
     # Make sure we are on a clean tree
9
     # Make sure we are on a clean tree
10
     ensure_git_status_clean
10
     ensure_git_status_clean
11
 
11
 
12
+    # Connext to Apple Store Connect
13
+    app_store_connect_api_key(
14
+      key_id: ENV["ASC_KEY_ID"],
15
+      issuer_id: ENV["ASC_ISSUER_ID"],
16
+      key_content: ENV["ASC_KEY_CONTENT"],
17
+      duration: 1200,
18
+      in_house: false
19
+    )
20
+
12
     # Set the app identifier
21
     # Set the app identifier
13
     update_app_identifier(
22
     update_app_identifier(
14
       xcodeproj: "app/app.xcodeproj",
23
       xcodeproj: "app/app.xcodeproj",

Loading…
Cancel
Save