XcodesOrg / XcodesOrg/xcodes

Missed 2FA won't let me use command line...?

Open
#469 3 comments 3 reactions 0 assignees View on GitHub

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 on developer.apple.com with 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 xcodes via 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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.