当 运行 expo build:ios 时,即使我可以手动登录,也获取无效凭据

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

我正在开发 运行 网络应用和 ios,使用 Expo(网络组件使用 rnw)。我决定今天开始设置应用程序商店 - 但我 运行 遇到问题:

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.

我可以使用这些相同的凭据在网络上正常登录。我想尝试关闭 2FA,但苹果不再允许这样做了。

如果有人能证实苹果没有对 2FA 实施破坏 expo 的更改,那就太好了——我知道 expo 大约一年前开始与 Apple 的 2FA 合作。

我忘了post对此的回答。

我可以确定它没有接受我包含 space 的密码,并且当我更改我的 appleID 密码时,它开始工作了。我向 expo 团队提交了一个问题,两个人检查后说他们在匹配的构建环境中没有这样的问题。 Apple 从未 post 编辑任何中断详细信息。

那天我住的地方可能出现了一个小网络问题,但很快就解决了。

尝试 运行 expo:build ios 使用 powershell。它对我有用。