I have been having this same problem for several weeks. One day it suddenly started working again and as of yesterday, started crashing - same message as reported. I'm not filing a new bug since it has now been reported here.
macOS: 15.4
Xcode: 16.2
MacBook Pro, M3 Max, 64 GB
Topic:
Developer Tools & Services
SubTopic:
Xcode
Tags: