Xcode 6 GM crashes when selecting the main storyboard or a xib
This was causing me a ton of trouble, and re-creating the storyboard wasn't an option. I got past it by ctrl/right clicking on the storyboard and doing
"Open As" > "Source Code"
I then made a small change, undid it and re-saved the file. Then I did
"Open As" > "Interface Builder - Storyboard"
It opened without crashing Xcode.
To fix this problem:
- open a Finder window and navigate to your project
- right-click on the .xcodeproj file (it’s a package actually)
- select Show Package Contents
- a new window appears
- delete a folder called xcuserdata
How to avoid this in the future:once added to .gitignore, you must issue the following command:
git rm --cached ProjectFolder.xcodeproj/project.xcworkspace/xcuserdata/yourUserName.xcuserdatad/UserInterfaceState.xcuserstategit commit -m "Removing file thats driving me insane"