Skip to content

npx eas build requires apple auth but the 6 digit code is never received #3259

@marandaneto

Description

@marandaneto

Minimal reproducible example

npx eas build -p ios --local

Steps to reproduce

If you provide your Apple account credentials we will be able to generate all necessary build credentials and fully validate them.
This is optional, but without Apple account access you will need to provide all the missing values manually and we can only run minimal validation on them.
✔ Do you want to log in to your Apple account? … yes

› Log in to your Apple Developer account to continue
✔ Apple ID: … my email
› Using password for my email from your local Keychain
Learn more
✔ Logged in, verify your Apple account to continue
Two-factor Authentication (6 digit code) is enabled for my email. Learn more.

? Please enter the 6 digit code you received at +•• •••• ••••••••: ›

ps: the phone number is correct, and when i log in icloud.com and 2fa is enabled, i receive the SMSs normally

Environment

expo-env-info 2.0.7 environment info:
    System:
      OS: macOS 15.6.1
      Shell: 5.9 - /bin/zsh
    Binaries:
      Node: 22.20.0 - ~/.nvm/versions/node/v22.20.0/bin/node
      Yarn: 1.22.22 - /opt/homebrew/bin/yarn
      npm: 10.9.3 - ~/.nvm/versions/node/v22.20.0/bin/npm
      Watchman: 2025.07.28.00 - /opt/homebrew/bin/watchman
    Managers:
      CocoaPods: 1.15.2 - /usr/local/bin/pod
    SDKs:
      iOS SDK:
        Platforms: DriverKit 25.1, iOS 26.1, macOS 26.1, tvOS 26.1, visionOS 26.1, watchOS 26.1
    IDEs:
      Android Studio: 2024.2 AI-242.23726.103.2422.12816248
      Xcode: 26.1/17B55 - /usr/bin/xcodebuild
    npmPackages:
      expo: ~53.0.12 => 53.0.23
      expo-router: ~5.1.0 => 5.1.7
      react: 19.0.0 => 19.0.0
      react-dom: 19.0.0 => 19.0.0
      react-native: 0.79.5 => 0.79.5
      react-native-web: ~0.20.0 => 0.20.0
    npmGlobalPackages:
      eas-cli: 16.26.0
    Expo Workflow: bare

Expo Doctor Diagnostics

14/17 checks passed. 3 checks failed. Possible issues detected:
Use the --verbose flag to see more details about passed checks.

✖ Check for lock file
Multiple lock files detected (pnpm-lock.yaml, package-lock.json). This may result in unexpected behavior in CI environments, such as EAS Build, which infer the package manager from the lock file.
Advice:
Remove any lock files for package managers you are not using.

✖ Check for app config fields that may not be synced in a non-CNG project
This project contains native project folders but also has native configuration properties in app.json, indicating it is configured to use Prebuild. When the android/ios folders are present, EAS Build will not sync the following properties: orientation, icon, scheme, userInterfaceStyle, ios, android, plugins, androidStatusBar.


✖ Check that packages match versions required by installed Expo SDK
The following packages should be updated for best compatibility with the installed expo version:
  [email protected] - expected version: ~18.1.11
  [email protected] - expected version: ~2.4.1
  [email protected] - expected version: 0.79.6
Your project may not work correctly until you install the expected versions of the packages.
Found outdated dependencies
Advice:
Use 'npx expo install --check' to review and upgrade your dependencies.
To ignore specific packages, add them to "expo.install.exclude" in package.json. Learn more.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions