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 '