Xcode Error Report Xcode quit unexpectedly

It seems that Xcode cannot restore the tabs / files you have opened the last time see Method: -_restoreSelectedTabsByIdentifierFromStateSaving:.

The latest ui state including opened files, curent target etc. is stored in the UserInterfaceState.xcusertate. You can find the file in your Xcode project folder under:

/<your_project_path>/<your_project_name>.xcodeproj/project.xcworkspace/xcuserdata/<username>.xcuserdatad/UserInterfaceState.xcuserstate

Just remove the file e.g. via rm and Xcode shall work again.


Open project folder show package contents from .xcworkspace or .xcodeproj You will see 2 folders xcshareddata and xcuserdata Please remove xcuserdata folder Try to open application Xcode will work properly

Tags:

Xcode