Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
2.0k views
in Technique[技术] by (71.8m points)

iphone - 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.

See Question&Answers more detail:os

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)

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.


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...