I came here because I finally upgraded to Sequoia 15.4 yesterday, but was still on Xcode 16.2, and was experiencing these crashes.
Upgraded to Xcode 16.3, but did not help.
After reading here, I decided to install Sequoia Beta 15.5 (24F5042g), and the problem disappeared.
I did not try @podkovyr 's way to fix (deleting Xcode fully, including its caches, then reinstalling Xcode). But I expect that to be a working solution as well.
The reason why I expect so is that I had noticed for a long time that the time between pressing the 'Start' button and the debugger connecting had been increasing to quite some time, over time. But now that I have Macos 15.5 Beta and Xcode 16.3, I notice that starting and debugging the app is very fast again. I suspect that some or more cache files were growing out of hands. I have no proof, just a suspicion. But it doesn't matter because the issue seems to be resolved now.
Topic:
Developer Tools & Services
SubTopic:
Xcode
Tags: