Xcode 26 crashes on project open

I've installed Xcode 26.0 beta (17A5241e), and if I select my project from the Welcome to Xcode dialog, Xcode crashes.

I've attempted this 10 times with the same result each time.

What should I do?

Thank you.

Answered by Developer Tools Engineer in 844290022

This is a known issue. To work around remove the UserInterfaceState.xcuserstate file inside your project document.

Accepted Answer

This is a known issue. To work around remove the UserInterfaceState.xcuserstate file inside your project document.

As the engineer above wrote, the answer to this question is in the Xcode 26 release notes:

Xcode may crash on launch restoring UI state. (152042209) Workaround: Remove your UserInterfaceState.xcuserstate file from the project/workspace.

In macOS Terminal, you can find this file in your Xcode project directory tree with:

find . -name '*.xcuserstate' -print

and then delete it with rm.

I have been assured that this is a cache file and contains no important project state and is safe to remove.

I am facing the same behavior - just installed XCode 16.4. (MBProM4/MacOS15.5) Deleting the file stated above didn't help. It still crashes.

I am really out of ideas what to do.

Xcode 26 crashes on project open
 
 
Q