I just downloaded the Xcode 6 GM and every time I select the main storyboard (and a specific xib) Xcode crashes.
The error to be sent to Apple contains the following info
ASSERTION FAILURE in /SourceCache/IDEInterfaceBuilderCocoaTouch/IDEInterfaceBuilderCocoaTouch-6238/InterfaceBuilder/Documents/IBCocoaTouchPlatform.m:531 Details: Returned status computation result is not an IBMarshallingResult, it's {
Anyone experiencing the same problem?
I've heard that it could be an autolayout problem, so I tried to disable it manually and it worked!
If you right click on the storyboard file, open as source code, and REMOVE the useAutolayout="YES", then clean, rebuild, you should be able to open with no problems.
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:
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.xcuserstate
git commit -m "Removing file thats driving me insane"
(1) Have you cleaned and rebuilt the project?
(2) Have you tried to empty the xcuserdata folder? The folder contains ui states and can be the reason for such an issue, especially when xcode was updated. The xcuserdata folder can be found in your project directory when you right-click your .xcodeproj "file" and select "show package content". Close Xcode, empty the xcuserdata folder and reopen the .xcodeproj file.
Hope one of these helps :)
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With