"IOS" Undefined Symbols for architecture x86_64
First of all, the cause of this problem, literally means that a symbol is not recognized. The general problem is the introduction of a Lib that was introduced manually, but the appropriate compilation options were not set or the dependent Lib was not introduced.
Workaround:
- By introducing Lib through Cocoapods, there is generally no problem.
- Take a closer look at the document to see what dependent Lib is not introduced, introduced, or added to the appropriate compilation options.
Basically two of the above, and are very general, the following is the specific problem I encountered.
- development Environment : Xcode 6.3.1
- Development language : Swift (I wrote the code all by swift, but introduced some OC third-party Lib)
- problem Description : When a third party Lib is introduced, the compilation does not pass anyway. I was introduced through Cocoapods, and I've never had a problem like this before.
- Solution : I first looked at the official documents, compared the manual introduction of the content and the introduction of content through cocoapods differences, I feel normal, there should be no difference. Then we find a few lib that have not been introduced, the introduction, OK.
It's superficial, and there are no concrete examples. But what I want to say is, encounter such a problem, probably is the problem of LIB, directly search the corresponding LIB document to take a good look.
"IOS" Undefined Symbols for architecture x86_64