expo / expo/eas-cli

Problem with Apple 2FA SMS

Open
#2,926 27 comments 10 reactions 0 assignees View on GitHub
needs review
Dominant language
TypeScript
Stars
1.4k
Forks
236
Avg merge
3d 1h
Merged PRs (30d)
91

Description

### Build/Submit details page URL

_No response_

### Summary

Hi guys,

I've been experiencing an issue uploading a new iOS build for the past week. Every time I try to create a new build, I get this error:

"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."

**What I've Tried:**

- Followed the workaround link and set up my device
- When trying to log in to my Apple account, it doesn't ask for a different authentication method after inputting my email
- Deleted ~/.app-store using rm -rf ~/.app-store, but this only forces me to re-enter my email before failing again
- Updated EAS CLI from 14.2.0 to 15.0.12, but the issue persists

**Need Help**
Has anyone encountered this problem or can suggest a solution? I need to upload an improved build to the App Store as soon as possible.

### Managed or bare?

Managed

### Environment

npx expo-env-info

expo-env-info 1.2.2 environment info:
System:
OS: macOS 15.2
Shell: 5.9 - /bin/zsh
Binaries:
Node: 23.6.0 - /opt/homebrew/bin/node
npm: 10.9.2 - /opt/homebrew/bin/npm
Managers:
CocoaPods: 1.16.2 - /opt/homebrew/bin/pod
SDKs:
iOS SDK:
Platforms: DriverKit 24.1, iOS 18.1, macOS 15.1, tvOS 18.1, visionOS 2.1, watchOS 11.1
IDEs:
Android Studio: 2024.2 AI-242.23339.11.2421.12700392
Xcode: 16.1/16B40 - /usr/bin/xcodebuild
npmPackages:
expo: ^51.0.38 => 51.0.39
expo-router: ~3.5.14 => 3.5.24
react: 18.2.0 => 18.2.0
react-dom: 18.2.0 => 18.2.0
react-native: 0.74.5 => 0.74.5
react-native-web: ~0.19.10 => 0.19.13
npmGlobalPackages:
eas-cli: 15.0.12
Expo Workflow: bare

npx expo-doctor
14/14 checks passed. No issues detected!

### Error output

_No response_

### Reproducible demo or steps to reproduce from a blank project

Reproducible Steps to Replicate iOS Build Upload Issue

1. Set up a React Native/Expo project that requires iOS deployment
2. Install EAS CLI (tested with versions 14.2.0 and 15.0.12)
3. Configure the project for EAS Build with eas build:configure
4. Run eas build --platform ios --profile production
5. When prompted, enter Apple Developer account credentials
6. Observe the error: "Verification codes can't be sent to this phone number at this time"

Additional Information:

- The issue persists even after following the workaround at https://expo.fyi/apple-2fa-sms-issues-workaround.md
- Deleting authentication cache with rm -rf ~/.app-store does not resolve the issue
- The authentication flow never offers alternative 2FA methods

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.