Hello,
I am experiencing an authentication issue when submitting my Expo iOS app to App Store Connect using the Expo EAS CLI from the terminal.
The exact flow is as follows:
I run the submit command in the terminal.
I am prompted to enter my Apple ID.
After entering the Apple ID, I am prompted to enter my Apple ID password.
After the password is accepted, I am prompted to enter a 6-digit verification code.
I receive the 6-digit code immediately via SMS or phone call.
I enter the code correctly and immediately, but the CLI always returns “Invalid code.”
This happens every time.
Important notes:
The Apple ID and password are correct.
The 6-digit code is entered immediately and exactly as received.
Logging in to App Store Connect via a web browser with the same Apple ID, password, and SMS code works without any issue.
The problem only occurs when authenticating through the terminal using Expo EAS CLI.
Could you please advise why the verification code is being rejected in the CLI and how I can successfully authenticate and submit my app?