-
Notifications
You must be signed in to change notification settings - Fork 347
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
Comments
worked for me, ty |
Could you clarify what we are missing in this FYI doc? Feel free to open the PR as well to change it directly 🙏 |
created a PR with the text suggested by ChatGPT (copied this thread and the original workaround.md and asking for markdown for a PR): |
The issue our team is running into is that our work Macs do not allow us to sign into our apple accounts so we are not actually able to set them up as trusted 2FA devices and we do not have dedicated ios work devices |
Confirmed this fix worked for me: https://github.com/expo/fyi/blob/main/apple-2fa-sms-issues-workaround.md
|
Thank you, this worked for me. However I'd prefer to stay logged in to my personal account on my Mac, does the expo team have a workaround for this? Also, do they know what changed recently, as this has never been a problem before running eas build --platform ios. |
I am in the same boat – logged into my Mac with my personal account but trying to deploy using my work account. I also would like to not have to log out of my personal account on my Mac. |
this worked for me! i wasn't even logged into my personal account on my mac computer but once I logged in with my business account it worked. Very strange since my build command was working last week. Thanks all |
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:
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:
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.
The text was updated successfully, but these errors were encountered: