Two-factor authentication is not working when trying to log in from CLI (v6.2.1). 2FA works fine at https://appleid.apple.com/. One thing I’ve noticed that I think holds the key to this issue is that when I try to login in using the CLI I receive an apple call in English, but when I go directly to the apple website the call is in my local language (Spanish).
I’ve called to apple support and they insist it is an expo issue and they cannot help.
🍎 iOS build
✔ Using remote iOS credentials (Expo server)
If you provide your Apple account credentials we will be able to generate all necessary build credentials and fully validate them.
This is optional, but without Apple account access you will need to provide all the missing values manually and we can only run minimal validation on them.
✔ Do you want to log in to your Apple account? … yes
› Log in to your Apple Developer account to continue
✔ Apple ID: … user@server.com
› Restoring session /Users/username/.app-store/auth/user@server.com/cookie
› Session expired Local session
› Using password for user@server.com from your local Keychain
Learn more
✔ Logged in, verify your Apple account to continue
Two-factor Authentication (6 digit code) is enabled for user@server.com. Learn more: https://support.apple.com/en-us/HT204915
✔ Please enter the 6 digit code you received at +52 •• •••• ••12: … 123456
✖ Invalid code
Two-factor Authentication (6 digit code) is enabled for user@server.com. Learn more: https://support.apple.com/en-us/HT204915