I started reading the crashlog and this caught my attention: _openNextDocumentURLFromIDEApplicationRestorableState and didDecodeRestorableState.
So I thought that maybe Xcode 15.4 was trying to restore a state that was not able to decode or parse or "understand".
So I opened Xcode 16.0 Beta 3, closed the current project (by tapping on X symbol), then I opened Xcode 15.4 and it worked.
Topic:
Developer Tools & Services
SubTopic:
Xcode