I had the same problem. Complete reinstallation of macOS solved it (Sequoia 15.2 and Xcode 16.2).
Topic:
Developer Tools & Services
SubTopic:
Xcode
Tags: