Xcode crash on startup

Hey Community,

I got a bit of a problem here. My Xcode (13.4.1) decided to not launch any project as of yesterday anymore. I have had this problem before and reinstalled macOS to resolve it. But I don't want to reinstall macOS every three months.

I noticed that playgrounds launch with no effort, but all Xcode projects create a beachball loading and then Xcode stops responding. This also happens when creating a new Xcode project.

I tried removing Derived Data, the entire Developer folder, launching in Rosetta, reinstall Xcode, install the Xcode 14 Beta to see if that helps but to no avail. I also tried downloading a clean Xcode from the Developer website.

I don't think it's memory related or anything, I have a 16-inch MacBook Pro with M1 Max, 32 Gb Ram, 512 Gb storage that is only halfway full.

See logs here.

Wasn't able to add it as attachment so it's a shared iCloud document.

Answered by lmDeveloper1 in 720073022

take a look at this twitter post from a xcode engineer seems to be a big issue with storyboards / nibs in 13.4.1 after installing 14 beta, but they give a workaround. see if this helps:

https://twitter.com/AnaCalinov/status/1545118596820439040

Accepted Answer

take a look at this twitter post from a xcode engineer seems to be a big issue with storyboards / nibs in 13.4.1 after installing 14 beta, but they give a workaround. see if this helps:

https://twitter.com/AnaCalinov/status/1545118596820439040

The solution to my problem was to NOT store all my projects in iCloud Drive. I used to store them in my Documents folder, but that's synced to iCloud. I now have a Developer folder right next to my applications and stuff: ~/franksolleveld/Developer/all-my-projects

Xcode crash on startup
 
 
Q