Missed 2FA won't let me use command line...?
Open
Nobody has claimed this yet.
- Dominant language
- Swift
- Stars
- 4.8k
- Forks
- 182
- Avg merge
- 2d 12h
- Merged PRs (30d)
- 1
Description
Not an engineer so be gentle:
- My developer AppleID is an iCloud account.
- My account is invited as a member to my managed work "entity" and "team ID".
- I can login fine to my iCloud account on my devices, on
icloud.com, and ondeveloper.apple.comwith my username and password. - When I log in to these places, it requires a 2FA code.
- Nothing is pending or unconfigured as far as I can tell on
developer.apple.com. - When I try to use
xcodesvia command line, I am prompted to enter my username and password. - I am NOT prompted to enter a 2FA code.
- I get this error:
Invalid username and password combination. Attempted to sign in with username [username]@icloud.com.
Try entering your password again
Apple ID Password ([username]@icloud.com):
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
The issue names no files or tests. Start by reproducing the xcodes command-line login with an iCloud Apple ID and trace how the CLI handles accounts that require 2FA. Done means the reported account can authenticate successfully through xcodes, with coverage for the observed login flow.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- macos, swift
- Domain
- authentication, cli
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Active
- Clarity
- Mostly clear
- Newbie friendliness
- 48/100