Xcode compilation error overview:
clang: error: no such file or directory: ‘CoreGraphics’
The general reason is that the import of link library content is missing. Under this kind of investigation, target – build phases – link library with library can basically solve the problem
Or the library or framework searchpath is not set in buildsettings
But… Today’s situation is a bit coquettish
Whether it is to re clone project or to delete and re import the class library that reported the error, it can not be solved
Moreover, after deleting, the framework in link bank with library will execute the error reporting information in the order of index and shoot the head library 😂
It took nearly three hours to find out
Is there such an insignificant option in boldsettings – other link flag
“-weak_ framework”
Before this problem did not appear, GIT only did a reset operation appeared
My colleague also had this modifier in his project, but he didn’t report an error, so he deleted it and added it
EH ha ha, the project of my colleague has also reproduced this problem
EMM… My predecessor called outsourcing… The pit left is really… Strong enough 👍
Goole couldn’t find this… Or did Du Niang find the answer
Portal:
https://stackoverflow.com/questions/3661300/what-is-a-weak-framework-reference
The purpose of this modifier is to make the framework compatible with more different versions of the system, and make weak reference to the framework
The key point is “there might also be some performance differences in start up time using apps with weak references to launch much lower.”
It may cause the program to start slowly, which is affected by the product 🐶 Know backhand is a slap
Similar Posts:
- [Solved] LD: library not found for – XXX when Xcode compiles code
- [How to Solve] Xcode:No such module SwiftyJSON
- Using react native elements in RN project to report an error: unrecognized font family ‘material icons’
- Xcode Error: Command CodeSign failed with a nonzero exit code
- [Solved] Xcode 10 Error: library not found for -lstdc++.6.0.9
- iOS dyld: Library not loaded Error [How to Solve]
- An App ID with Identifier ‘XXX’ is not available
- Anaconda “unable to locate program input point OpenSSL_ sk_ new_ Reserve is used in dynamic link library anaconda3 / library / bin / libssl-1_ On 1-x64.dll & qu
- gitfatal: I don’t handle protocol ‘https’ [How to Solve]
- Xcode Command PhaseScriptExecution failed with a nonzero exit code