iOS deploy issue using EAS deploy

Hi Team,

We recently purchased an EAS priority plan to deploy our iOS build to the App store. We went through Submitting to the Apple App Store - Expo Documentation documentation and set up ios Build deploy from a local windows machine.
Step 1: Build the ios bundle using expo
Step 2: Setup 2-factor authentication in the App store.
Step 3: Generated " APP-SPECIFIC PASSWORDS" in app store
Step 4: Created the local environment variable “FASTLANE_APPLE_APPLICATION_SPECIFIC_PASSWORD” and set the value whichever was generated in Step 3.
Step 5: Ran below command
"eas submit --platform ios --url

However, the build failed with the below log message:

> *Something went wrong when submitting your app to Apple App Store.*
> *We couldn't figure out what went wrong. Please see logs to learn more.*
> *[logs] Starting iOS app upload*
> *[logs] Downloading archive*
> *[logs] Preparing artifact*
> *[logs] Uploading iOS app to TestFlight...*
> *[logs] Uploading the app with fastlane*
> *[logs] -------------------*
> *[logs] --- Step: pilot ---*
> *[logs] -------------------*
> *[logs] Ready to upload new build to TestFlight (App: 1571860810)...*
> *[logs] Fetching password for transporter from environment variable named `FASTLANE_APPLE_APPLICATION_SPECIFIC_PASSWORD`*
> *[logs] Going to upload updated app to App Store Connect*
> *[logs] This might take a few minutes. Please don't interrupt the script.*
> *[logs] [Transporter Error Output]: Sign in with the app-specific password you generated. If you forgot the app-specific password or need to create a new one, go to appleid.apple.com (-22938)*
> *[logs] Transporter transfer failed.*
> *[logs] Sign in with the app-specific password you generated. If you forgot the app-specific password or need to create a new one, go to appleid.apple.com (-22938)*
> *[logs]*
> *[logs] Application specific password you provided using*
> *[logs] environment variable FASTLANE_APPLE_APPLICATION_SPECIFIC_PASSWORD*
> *[logs] is invalid, please make sure it's correct*
> *[logs] [!] Invalid application specific password provided*
> *[logs] fastlane pilot failed*

We tried restarting the machine, we tried created secret variable in our expo account naming “FASTLANE_APPLE_APPLICATION_SPECIFIC_PASSWORD” . No luck.

  • Machine - Local
  • Environment - Windows 10

Requesting for your assistance.

Thanks and Regards,
Localzi

1 Like

The eas submit requires the EXPO_APPLE_APP_SPECIFIC_PASSWORD environment variable. The fastlane one is set automatically on EAS Submission worker based on that flag.

When running eas submit while this environment variable isn’t set, a user is asked to enter his OTP instead:

Please enter your Apple app-specific password. You can also provide it by using the
EXPO_APPLE_APP_SPECIFIC_PASSWORD environment variable.

Shouldn’t eas submit use that password to also set FASTLANE_APPLE_APPLICATION_SPECIFIC_PASSWORD or am I missing something here?

1 Like