Happened to me as well. Figured out that the problem was caused by co-existing Xcode 15.0.1 stable and Xcode 15.1 beta on my mac. Deleted Xcode beta and everything works now. Hope that helps.
Topic:
Developer Tools & Services
SubTopic:
Xcode
Tags: