expo / expo/eas-cli

2FA with Apple fails

Open
#2,963 9 comments 3 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

Whenever I run the command eas build --platform ios, it prompts me to authenticate with Apple. I confirm, and since my credentials are already saved in the local keychain, it proceeds to the 2FA step.

Initially, I didn't receive any text message — the same thing happens when I try logging into the Apple Developer Portal directly. I then selected the “Call me instead” option, which worked. Now, whenever I run the same eas build command, I do receive a call, but the verification code I enter is always rejected as incorrect.

I'm not sure why this is happening — this process used to work without any issues.

### Managed or bare?

Managed

### Environment

```
expo-env-info 1.2.2 environment info:
System:
OS: macOS 14.6.1
Shell: 5.9 - /bin/zsh
Binaries:
Node: 22.9.0 - ~/.nvm/versions/node/v22.9.0/bin/node
npm: 10.8.3 - ~/.nvm/versions/node/v22.9.0/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: 2023.3 AI-233.14808.21.2331.11842104
Xcode: 16.1/16B40 - /usr/bin/xcodebuild
npmPackages:
@expo/metro-config: ~0.19.0 => 0.19.12
expo: ^52.0.39 => 52.0.39
react: 18.3.1 => 18.3.1
react-native: 0.76.7 => 0.76.7
npmGlobalPackages:
eas-cli: 16.0.1
Expo Workflow: managed

```

### Error output

_No response_

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

Just try to publish an update

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.