Xcode 4-PBXCP error fix-no such file or directory

Source: Internet
Author: User

This article mainly references Xcode 4-PBXCP error repair-no such file or directory, and has made some updates.


Took over a new project, the real machine compile always prompt "PBXCP error-no such file or directory" This error, is to see the above article also did not solve the problem, after searching, finally solved.


One reason is that, as described in Method 3 of the previous article, Targets-build phases has a red resource file under the copy bundle resources, and the red resource file is precisely Main.storyboard and Launchscreen.xib, and then found that these two files are in base.lproj inside, explain the addition of language management, click Main.storyboard, in the rightmost status bar can see only base.lproj tick On the, while 中文版 and Chinese are not ticked on, the two language options are ticked, the red problem is resolved, but the compilation error problem is not resolved.

Now look what the file will prompt for no such file or directory, is a bundle below the picture will prompt this, but not all the pictures are prompted by this. Search for the bundle name in the file list and suddenly discover that there are two identical bundles of the same name in the project. Delete a try again, sure enough to solve the problem.


PostScript: I revert to the original state, only delete a bundle of the same name to solve the problem, stating that reason 1 is not established.


Xcode 4-PBXCP error fix-no such file or directory

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.