You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: fastlane/Fastfile
+11Lines changed: 11 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -596,6 +596,17 @@ platform :ios do
596
596
)
597
597
end
598
598
599
+
# We're about to use `add_development_certificates_to_provisioning_profiles` and `add_all_devices_to_provisioning_profiles`.
600
+
# These actions use Developer Portal APIs that don't yet support authentication via API key (-.-').
601
+
# Let's preemptively ask for and set the email here to avoid being asked twice for it if not set.
602
+
603
+
require'credentials_manager'
604
+
605
+
# If Fastlane cannot instantiate a user, it will ask the caller for the email.
606
+
# Once we have it, we can set it as `FASTLANE_USER` in the environment (which has lifecycle limited to this call) so that the next commands will already have access to it.
607
+
# Note that if the user is already available to `AccountManager`, setting it in the environment is redundant, but Fastlane doesn't provide a way to check it so we have to do it anyway.
0 commit comments