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: … firstname.lastname@example.org › Restoring session /Usersemail@example.com/cookie › Session expired Local session › Using password for firstname.lastname@example.org from your local Keychain Learn more ✔ Logged in, verify your Apple account to continue Two-factor Authentication (6 digit code) is enabled for email@example.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 firstname.lastname@example.org. Learn more: https://support.apple.com/en-us/HT204915