Are you maybe running Xcode in Rosetta mode? I had this issue, exactly as mentioned above. To fix this I closed Xcode, turned off Rosetta and it's now working as expected. However, this might be a different issue but this might help some people.
Topic:
Developer Tools & Services
SubTopic:
Xcode
Tags: