expo / expo/eas-cli

EAS CLI keeps using wrong Apple ID even after logout and keychain clear

Open
#2,992 5 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

I'm using `eas build --platform ios` for my project `choosey-app` under @holliprince2.

Even after running `eas logout`, clearing Keychain data, and logging in again with the correct Apple ID (`ruckerdexter590@gmail.com`), the CLI keeps trying to log in with an old incorrect Apple ID (`ruckerdexter5902@gmail.com`).

What I’ve tried so far:
- `eas logout` and re-login
- Clearing keychain credentials
- Using an app-specific password from Apple ID
- Verified that 2FA is active
- Tried `eas credentials:clear` and re-entered credentials
- Tried `rm ~/Library/Keychains/login.keychain-db`

No matter what I do, the wrong Apple ID is still being used for iOS build auth.

This issue has blocked iOS build for 2+ days. Please help with fully resetting CLI Apple login cache or provide steps to fix.

Expo account: `@holliprince2`
Apple ID: `ruckerdexter590@gmail.com`

### Managed or bare?

Managed

### Environment

System:
OS: macOS Ventura
Shell: zsh
Expo CLI: latest
Node: 18.x
npm: 9.x
eas-cli: latest
Project workflow: managed

### Error output

No CLI error message — the wrong Apple ID is being used automatically despite all resets.

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

1. Run `eas logout`
2. Run `eas login` using correct Expo account (@holliprince2)
3. Run `eas build --platform ios`
4. CLI prompts for Apple ID and still auto-fills wrong Apple ID (ruckerdexter5902@gmail.com)
5. Enter correct Apple ID (ruckerdexter590@gmail.com) and app-specific password
6. Login fails, and CLI continues trying to use the wrong Apple ID

Expected behavior: Expo CLI should fully reset saved credentials and allow login with correct Apple ID.

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.