Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Authentication with Apple Developer Portal faile #187

Open
tinkerer opened this issue Dec 10, 2024 · 1 comment
Open

Authentication with Apple Developer Portal faile #187

tinkerer opened this issue Dec 10, 2024 · 1 comment

Comments

@tinkerer
Copy link

tinkerer commented Dec 10, 2024

I note that the previous issue was closed earlier today and the latest build's error points to this URL:
https://expo.fyi/apple-2fa-sms-issues-workaround.md

Internal Server Error: 'h', 'Received an internal server error from Apple's App Store Connect / Developer Portal servers, please try again later. Apple service errors:

  • Verification codes can’t be sent to this phone number at this time. Please try again later.
    If you encounter persistent issues with Apple 2FA SMS authentication, you can try using these workarounds: https://expo.fyi/apple-2fa-sms-issues-workaround.md.'. Retrying after 3 seconds (remaining: 3)

✖ Logging in...
Authentication with Apple Developer Portal failed!
Received an internal server error from Apple's App Store Connect / Developer Portal servers, please try again later. Apple service errors:

  • Verification codes can’t be sent to this phone number at this time. Please try again later.
    If you encounter persistent issues with Apple 2FA SMS authentication, you can try using these workarounds: https://expo.fyi/apple-2fa-sms-issues-workaround.md.
    Error: build command failed.

However, regarding the Device 2FA instructions at https://github.com/expo/fyi/blob/main/apple-2fa-sms-issues-workaround.md

I am never prompted:
How do you want to validate your account?

eas -v
eas-cli/14.1.0 darwin-arm64 node-v22.10.0
Note that I also followed the instructions in this issue (rm -rf ~/.app-store)
expo/eas-cli#2698

The issue seems to be due to the fact that I have multiple accounts with Apple, one account email is the user account on my Mac and is not the same as the developer account email at the company I am working for. This was resolved for me by signing out of my Apple Account in System Settings and signing in to the developer account. I am filing an issue to update the workaround.md file and help other developers who may be experiencing similar problems and so that expo team can update the eas-cli so that developers do not have to sign out of their personal Mac account to use a different developer account.

@arapocket
Copy link

worked for me, ty

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants