"IOS" Undefined Symbols for architecture x86_64

Source: Internet
Author: User
"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:

  1. By introducing Lib through Cocoapods, there is generally no problem.
  2. 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

Related Article

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.