Xcode open Storyboard file error after updating Mac OS

Source: Internet
Author: User

The hands of the base did not endure the update to the Mac Os Yosemite, so the problem came ....


Before the good project operation error, the project storyboard file cannot be opened.

The error message is as follows:

The document "Main.storyboard" could not being opened. The operation couldn ' t be completed. (Com.apple.InterfaceBuilder error-1.)


Reason:

After this update do not know why,storyboard inside can not refer to the picture below the folder. For example: Assets/xxx.png.


Workaround:

Temporarily did not find what a good way, first directly copy the required pictures to the project directory, and then modify the reference method.

Edit Storyboard File:

650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M01/4C/DB/wKiom1RGfcugsV9FAACl3RD1Iy8235.jpg "title=" screen shot 2014-10-21 pm 11.36.39.png "alt=" Wkiom1rgfcugsv9faacl3rd1iy8235.jpg "/>

Where to modify references:

Assets/xxx.png---modified to---> xxx.png.

The same is true in the code, and the quoting method also needs to be broken.


OK, the problem is temporarily resolved. I don't know if this is the only problem I have. Pondering for a long time finally find out why.

PS: Why does this problem occur?  is Xcode a bug, or is that what you want to do later? Who is clear to answer?


If the problem is still not resolved, please refer to the following:

http://stackoverflow.com/questions/17495793/com-apple-interfacebuilder-error-1-storyboard-can-not-be-opened










This article is from the "love to eat fish cat Brother" blog, please be sure to keep this source http://brothercat.blog.51cto.com/9271731/1566492

Xcode open Storyboard file error after updating Mac OS

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.