Xcode compilation error:< Apple mach-o Linker Warning > Clang:error:no such file or directory: ' xxxx '

Source: Internet
Author: User

Xcode compilation Error Overview:

Clang:error:no such file or directory: ' Coregraphics '

The general reason is that the link library content import is lost, this kind of troubleshooting under Target-build Phases-link banary with the library basically can solve

Or, the imported libraries do not have the searchPath of the library or the framework set in the Buildsettings.

But ..... This is a little bit of a problem today.

Whether you re-clone the project or delete and re-import the error class Library can not be resolved

And after the deletion, link banary with the framework of the library in the index order to execute the error message gun hit the head of the library ah??

The bar has been on for nearly three hours to find

Buldsettings-other link flag No such a humble option

"-weak_framework"

It didn't happen before. Git just did a reset operation and it came up.

Colleagues in the project also has this modifier but did not give an error, so the modification is deleted plus

Well, my colleague's project also reproduced this problem.

Emm ... My predecessor is called outsourcing ... The pit that left is sure enough ... Strong enough??

Goole can't find this ... Or did you find the answer on your mother's degree?

Portal:

Https://stackoverflow.com/questions/3661300/what-is-a-weak-framework-reference

This modifier is intended for the framework to be compatible with a wider range of different versions of the system, with weak referencing of the frame.

The key point is "there might also is some performance differences in start up time causing apps with weak references to launch much Slower. "

It can cause the program to start slowing down, if it is a product?? You know, a backhand is a slap.

Xcode compilation error:< Apple mach-o Linker Warning > Clang:error:no such file or directory: ' xxxx '

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.