Search code examples
iphoneiosxcodexcode4.5

The document "MainStoryBoard.storyboard" could not be opened


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.


Solution

  • Try to make sure all the UILabels in the storyboard are using plain text

    UILabel text attribute = PLAIN

    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.