Xcode 15.4 crashing on launch

After installing Xcode 16.0 Beta 3 (as a separate app), Xcode 15.4 is crashing on launch.

I have uninstalled both Xcodes and reinstall 15.4 again and the crash is still happening.

Full log was too long to post here. I have created a gist for it: https://gist.github.com/victorBaro/e7b75a9da4eaf231a2dd5dc27500afd3

Answered by vbaro in 795786022

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.

Accepted Answer

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.

Xcode 15.4 crashing on launch
 
 
Q