The document "MainStoryBoard.storyboard" could not be opened. The operation couldn’t be completed. (com.apple.InterfaceBuilder error -1.)
Our team using SVN and when one of our developer committed the code, the others are get above message and are unable to open the MainStoryBoard. Also we have tried checking out the whole repository, but still the error exists.
Any help will be greatly appreciated.
Thanks.
Try to make sure all the UILabels in the storyboard are using plain text
This solve the problem for me after almost 4 hours of trying everything!!!!
And also make sure you have installed on your system the fonts you are trying to use.
We had this problem today - a remote developer could not open a storyboard that worked fine on two machines here. Xcode 4.5.1 and iOS 6.0.
I opened the storyboard file in BBEdit and used the "Zap Gremlins" command. It found several gremlins, all in a few attributed strings (that we were styling as a frill, not at all necessary). I closed BBEdit without saving, went back into Xcode, and removed these strings from the storyboard file. Xcode is now able to open the storyboard.
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