eas-cli icon indicating copy to clipboard operation
eas-cli copied to clipboard

Can't login with Apple ID during build process

Open PawelGIX opened this issue 1 year ago • 6 comments

Summary

I haven't been able to log in to my Apple ID from Expo since yesterday. However, logging in to Apple Connect from the browser works properly.

How to solve the problem?

✔ 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: … [email protected]
› The password is only used to authenticate with Apple and never stored on EAS servers
  Learn more
✔ Password (for [email protected]): … *************
› Saving Apple ID password to the local Keychain
  Learn more
✖ Logging in...
Invalid username and password combination. Used '[email protected]' as the username.
› Removed Apple ID password from the native Keychain
? Would you like to try again? › no / yes

What platform(s) does this occur on?

MacBook M1

SDK Version

50.0.7

Environment

  expo-env-info 1.2.0 environment info:
    System:
      OS: macOS 13.6.3
      Shell: 5.9 - /bin/zsh
    Binaries:
      Node: 18.18.0 - ~/.nvm/versions/node/v18.18.0/bin/node
      Yarn: 1.22.21 - /opt/homebrew/bin/yarn
      npm: 9.8.1 - ~/.nvm/versions/node/v18.18.0/bin/npm
    Managers:
      CocoaPods: 1.14.3 - /opt/homebrew/bin/pod
    SDKs:
      iOS SDK:
        Platforms: DriverKit 23.2, iOS 17.2, macOS 14.2, tvOS 17.2, visionOS 1.0, watchOS 10.2
      Android SDK:
        API Levels: 23, 28, 33, 33
        Build Tools: 30.0.3, 33.0.2, 34.0.0
        System Images: android-28 | Google APIs ARM 64 v8a, android-28 | Google ARM64-V8a Play ARM 64 v8a, android-29 | Google APIs ARM 64 v8a
    IDEs:
      Android Studio: 2022.3 AI-223.8836.35.2231.10811636
      Xcode: 15.2/15C500b - /usr/bin/xcodebuild
    npmPackages:
      expo: ^50.0.7 => 50.0.7 
      react: 18.2.0 => 18.2.0 
      react-native: 0.73.4 => 0.73.4 
    npmGlobalPackages:
      eas-cli: 7.3.0
      expo-cli: 6.3.10
    Expo Workflow: bare

Minimal reproducible example

This is not likely to be a code-specific problem. More with the CLI and login process.

https://github.com/PawelGIX/GrillParadisePOS-test

Is there any way to debug this issue?

PawelGIX avatar Feb 25 '24 21:02 PawelGIX

Is there anything I can do? Don't know where to start? Should I install packages and configure the build process from scratch, even though I haven't had any problems with it so far?

PawelGIX avatar Feb 26 '24 08:02 PawelGIX

Did you find any solution?

ferasdiab avatar Feb 26 '24 12:02 ferasdiab

Did you find any solution? I wasn't able to log in after updating the packages.

I discovered that CLI ignores my input: image And it took the login data from this file with a strange character at the beginning.

image

image

After deleting the contents of this directory, I was able to log in.

PawelGIX avatar Feb 26 '24 12:02 PawelGIX

Thank you for filing this issue! This comment acknowledges we believe this may be a bug and there’s enough information to investigate it. However, we can’t promise any sort of timeline for resolution. We prioritize issues based on severity, breadth of impact, and alignment with our roadmap. If you’d like to help move it more quickly, you can continue to investigate it more deeply and/or you can open a pull request that fixes the cause.

expo-bot avatar Feb 27 '24 01:02 expo-bot

I am having a similar issue with eas-cli failing at apple login. i cannot seem to get eas-cli to update past 3.10

`eas -v
[email protected] is now available. To upgrade, run npm install -g eas-cli. Proceeding with outdated version.

eas-cli/3.10.2 darwin-arm64 node-v21.6.2`

textual avatar Mar 01 '24 16:03 textual