Skip to content

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

Open

Description

@elcadoGRIND

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):

Activity

  1. elcadoGRIND commented on Apr 15, 2026

    @elcadoGRIND
    Author

    This essentially blocks me from using this tool as far as I can tell

  2. danrossi commented on May 2, 2026

    @danrossi

    I use a Yubikey for 2FA as Passkey doesnt work yet. I get a PIN dialog but tapping causes an error during the 2FA auth.

  3. dta-nect commented on Aug 27, 2026

    @dta-nect

    I just came here and hoped for an update, but even though the issue is still open, it was resolved and you can finally use xcodes with a managed account 🙌

    XCODES_USERNAME="you@yourcompany.com" xcodes install --latest

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions