XcodesOrg / xcodes

The best command-line tool to install and switch between multiple versions of Xcode.
MIT License
3.85k stars 133 forks source link

unable to authenticate with Apple ID using hardware two-factor key (Yubikey) #279

Open drmarkpowell opened 1 year ago

drmarkpowell commented 1 year ago

Running xcodes 1.3.0 on Ventura 13.2.1, getting a login error with my Apple ID. It is configured to use a hardware key for authentication.

xcodes install 14.3 Beta 2 --experimental-unxip
Apple ID: <my_apple_id@mail.com>
Apple ID Password: xxxxxx
The operation couldn’t be completed. (DecodingError.keyNotFound(CodingKeys(stringValue: "securityCode", intValue: nil), Swift.DecodingError.Context(codingPath: [], debugDescription: "No value associated with key CodingKeys(stringValue: \"securityCode\", intValue: nil) (\"securityCode\").", underlyingError: nil)))
The operation couldn’t be completed. (DecodingError.keyNotFound(CodingKeys(stringValue: "securityCode", intValue: nil), Swift.DecodingError.Context(codingPath: [], debugDescription: "No value associated with key CodingKeys(stringValue: \"securityCode\", intValue: nil) (\"securityCode\").", underlyingError: nil)))
leobartowski commented 1 year ago

Same here!

ideologysec commented 1 year ago

Using an app-specific password doesn't work either.

jaanus commented 1 year ago

Same bug in the GUI app: https://github.com/XcodesOrg/XcodesApp/issues/357

ideologysec commented 9 months ago

This was closed via a pull request, but the PR just reports an error, it doesn't resolve the issue.

Is this WONTFIX?