For me, it turned out to be an issue with the xcodeproj file AND settings. I removed the DVTSourceControlAccountDefaultsKey and also recreated my Xcodeproj from scratch. If you are doing a Swift package that does not require an xcodeproj then just delete it. Very annoying problem to deal with.
Topic:
Developer Tools & Services
SubTopic:
Xcode
Tags: