简体   繁体   中英

when running expo build:ios, getting invalid credentials even though I can sign in manually

I am developing an app to run on web and ios, using Expo (with rnw for the web component). I decided to begin to set up the app store presence today -- but I am running into issues:

We need your Apple ID/password to ensure the correct teamID and appID

Note: Expo does not keep your Apple ID or your Apple password.

? What's your Apple ID? MY_VALID_APPLE_ID
? Password? [hidden]
[16:22:23] Validating Credentials...
[16:22:24] Error while gathering & validating credentials
[16:22:24] Reason:Invalid credentials, raw:"Invalid username and password combination. Used 'MY_VALID_APPLE_ID' as the username."
[16:22:24] Set EXPO_DEBUG=true in your env to view the stack trace.
error Command failed with exit code 1.

I can log in just fine with these same credentials using the web. I thought to try to turn off 2FA, but apple doesn't allow that any longer.

It would be great if someone could verify that apple hasn't implemented a change for 2FA that broke expo -- I know expo started working with Apple's 2FA about a year ago.

I forgot to post an answer to this.

I can verify with certainty that it was not accepting my password containing a space, and that when I changed my appleID password, it began working. I submitted a issue with expo team and two people checked and said they had no such issue with a matching build environment. Apple never posted any outage details.

there was likely a small network problem that day where I lived that quickly resolved.

try running expo:build ios with powershell. It did the trick for me.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM