I had a Xcode project which was crashing whenever I tried to close the Assistant editor. Here is what I did to fix it.
- Close the project in XCode
- Delete the following files using the Terminal. Where “myproject” is the name your project.
rm -rf myproject.xcworkspace/xcuserdata
rm -rf myproject.xcodeproj/xcuserdata
rm -rf myproject.xcodeproj/project.xcworkspace
If you don’t feel comfortable using the Terminal, you can also right click on the file and choose “Show Package Contents” and delete the files.
If you don’t use CocoaPods, you may not have a myproject.xcworkspace
This solution may fix other Xcode crashing issues.Comments closed