When running an xcversion install command, once the download is complete, it asks for authentication. This is presumably to do the signing and verification. In my case I have a Yubikey installed. This causes many authentication dialogs presented by macOS to ask for the Yubikey's pin instead of my admin password. However, typing the pin does not work, typing the admin password does not work.
After physically removing the Yubikey, I can use the admin password to authenticate.
This should be made to work while the Yubikey remains inserted:
Accept the pin as authentication, or
Accept the admin password as authentication,
If only one of the above can be made to work, improve the prompt to indicate which one is needed
When running an
xcversion install
command, once the download is complete, it asks for authentication. This is presumably to do the signing and verification. In my case I have a Yubikey installed. This causes many authentication dialogs presented by macOS to ask for the Yubikey's pin instead of my admin password. However, typing the pin does not work, typing the admin password does not work.After physically removing the Yubikey, I can use the admin password to authenticate.
This should be made to work while the Yubikey remains inserted: