Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update workaround to address multiple Apple accounts on macOS #189

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 17 additions & 0 deletions apple-2fa-sms-issues-workaround.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,3 +25,20 @@ rm -rf ~/.app-store/
```

After removing the cache, try logging in again with the EAS CLI.

## Update: Addressing Multiple Apple Accounts on macOS

If you have multiple Apple accounts (e.g., a personal Apple ID and a separate developer account), **EAS CLI** may not correctly prompt you to choose how to validate your account. This can occur when your **personal Apple account** is the active user account on your Mac.

### Resolution:
1. **Sign out of the personal Apple account** in your macOS **System Settings**:
- Open **System Settings** > Click on your name (Apple ID) > Scroll down and select **Sign Out**.
2. **Sign in with the developer account** used for Apple Developer Portal access.
3. Retry the EAS CLI login process.

### Why This Happens:
EAS CLI relies on Apple APIs, which sometimes default to the macOS user account rather than the intended Apple Developer account. By signing out of your personal account, you ensure EAS CLI interacts with the correct Apple ID for authentication.

### Note:
This step is a temporary workaround. The Expo team is investigating ways to address this issue without requiring users to log out of their macOS account.