The command solved this issue for me as well. Thank you! I noticed that before executing the command, there were n+1 different accounts listed in the Xcode 16 Settings - Accounts tab. The first one was my development account, but after that, there was a long scrollable list of ‘Unknown dev accounts’ (or something like that. Unfortunately, I had already deleted them all). With the command you mentioned, I was able to clear the entire list. After that, I logged in with my development account, and so far, everything has worked correctly.
(My use case is somewhat unusual, as these Xcodes are on CI/CD machines performing repetitive tasks (and mostly tasks run through CLI tools).)
Topic:
Developer Tools & Services
SubTopic:
Xcode
Tags: