You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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):
Reacted by Alex Babrykovich, Snail and sviluppo-mytec
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 🙌
Activity
elcadoGRIND commentedon Apr 15, 2026
This essentially blocks me from using this tool as far as I can tell
danrossi commentedon May 2, 2026
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.
dta-nect commentedon Aug 27, 2026
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