It seems like the exp build:ios doesn’t work if your Apple Developer account has 2FA enabled. I disabled the 2FA and was able to get the build successfully started. Is this a known issue?
Please see below for (sanitized) logs. Thanks in advance!
➜ yarn git:(master) exp build:ios
[exp] Making sure project is set up correctly…
[exp] Your project looks good!
[exp] Warning: ‘react’ peer depencency missing. Run npm ls in /Users/wchen/yarn to see full warning.
[exp]
[exp] If there is an issue running your project, please run npm install in /Users/wchen/yarn and restart.
[exp] Checking if current build exists…
[exp] No currently active or previous builds for this project.
[exp] Checking for existing Apple credentials…
We need your Apple ID/password to manage certificates and provisioning profiles from your Apple Developer account.
? What’s your Apple ID? my@email.com
? Password? ***********
? What is your Apple Team ID (you can find that on this page: Sign In - Apple)? #######
[exp] Validating Apple credentials…
[exp] Error validating credentials. You may need to clear them (with -c) and try again.
[exp] Unable to validate credentials: Internal error occurred. Please try again in a few minutes or contact support.
@kantharia we don’t support Apple 2FA right now, so you’d have to disable it before creating a build. If you don’t want to do that you can build manually following the instructions here: https://github.com/expo/expo#standalone-apps
I still cannot get 2fa to work (with exp or expo-cli). I do not receive a verification code (I receive it when logging into apple platforms, but there may be a problem bc there are two phone numbers associated with the account, so the apple platforms have an additional prompt for me to choose which). Additionally, I tried that --local-auth option mentioned in the issue, but it throws an error, claiming it is an unknown option.