File tree Expand file tree Collapse file tree 1 file changed +9
-0
lines changed
Expand file tree Collapse file tree 1 file changed +9
-0
lines changed Original file line number Diff line number Diff line change @@ -596,6 +596,15 @@ platform :ios do
596596 )
597597 end
598598
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+ asc_user_email_key = 'FASTLANE_USER'
603+ unless ENV . key? ( asc_user_email_key )
604+ UI . important ( "#{ asc_user_email_key } value not found in the environment." )
605+ ENV [ asc_user_email_key ] = UI . input ( 'Please provide your Apple Developer Program account email (this will not be saved): ' )
606+ end
607+
599608 # Add all development certificates to the provisioning profiles (just in case – this is an easy step to miss)
600609 add_development_certificates_to_provisioning_profiles (
601610 team_id : get_required_env ( 'EXT_EXPORT_TEAM_ID' ) ,
You can’t perform that action at this time.
0 commit comments