expo / eas-cli

Fastest way to build, submit, and update iOS and Android apps
https://docs.expo.dev/eas/
MIT License
814 stars 83 forks source link

Unable to login to apple account for app signing #1186

Closed itishermann closed 2 years ago

itishermann commented 2 years ago

Build/Submit details page URL

No response

Summary

I have always used the remote signing keys for ios app signing but for the last 4 days I can't log in to my account to validate the signature. I don't know if it is correlated but i used to receive the code via sms but now (i don't know why), i just get the code by phone call.

Managed or bare?

bare

Environment

❯ expo doctor πŸŽ‰ Didn't find any issues with the project!

❯ npx expo-env-info

expo-env-info 1.0.4 environment info: System: OS: macOS 12.4 Shell: 5.8.1 - /bin/zsh Binaries: Node: 16.14.2 - ~/.nvm/versions/node/v16.14.2/bin/node Yarn: 1.22.19 - ~/.yarn/bin/yarn npm: 8.5.0 - ~/.nvm/versions/node/v16.14.2/bin/npm Watchman: 2022.06.13.00 - /usr/local/bin/watchman Managers: CocoaPods: 1.11.3 - /usr/local/bin/pod SDKs: iOS SDK: Platforms: DriverKit 21.4, iOS 15.4, macOS 12.3, tvOS 15.4, watchOS 8.5 Android SDK: API Levels: 29, 30, 31 Build Tools: 28.0.3, 29.0.2, 30.0.0, 30.0.2, 30.0.3, 31.0.0, 32.0.0, 32.1.0, 33.0.0 System Images: android-31 | Google Play Intel x86 Atom_64 IDEs: Android Studio: Bumblebee 2021.1.1 Patch 3 Bumblebee 2021.1.1 Patch 3 Xcode: 13.3.1/13E500a - /usr/bin/xcodebuild npmPackages: expo: ~44.0.0 => 44.0.0 react: 17.0.1 => 17.0.1 react-dom: 17.0.1 => 17.0.1 react-native: 0.64.3 => 0.64.3 react-native-web: 0.17.1 => 0.17.1 npmGlobalPackages: eas-cli: 0.54.1 expo-cli: 5.4.12 Expo Workflow: bare

Error output

βœ” Using remote iOS credentials (Expo server)

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: … me@org.com β€Ί Using password for me@org.com from your local Keychain Learn more: https://docs.expo.dev/distribution/security#keychain βœ” Logged in, verify your Apple account to continue Two-factor Authentication (6 digit code) is enabled for me@org.com. Learn more: https://support.apple.com/en-us/HT204915 βœ” Please enter the 6 digit code you received at +XX β€’β€’ β€’β€’ β€’β€’ β€’β€’ XX: … XXXXXX βœ– Invalid code

Reproducible demo or steps to reproduce from a blank project

  1. Create a new expo project
  2. Use eas-build and configure remote credentials for the first time
  3. Add this to the build section of the eas.json file
    "production": {
    "distribution": "store",
    "credentialsSource": "remote",
    "releaseChannel": "production",
    "env": {
      "APP_ENV": "production"
    },
    "android": {
      "buildType": "app-bundle",
      "image": "latest"
    }
    },
  4. run eas build --platform ios --profile production --auto-submit
itishermann commented 2 years ago

I've found some issue mentioning the fact that eas does not support phone verification. Switched to device verification by Login to the iCloud account on my mac.