"Library not found for-" solution

Source: Internet
Author: User

When we compile, we sometimes report this error "library not found for-"

Because we used some third-party libraries in our project, I reported this error when I used the static library files of Baidu.

This is caused when Xcode does not find the library when it compiles.

So we're going to let Xcode know where this library file is, so we can easily find it at compile time.

Workaround:

Get the folder path where the library file is located, add to Target's build settings interface

Ld:library not found the problem with for-lxxx may be that you have a library connection reference problem, the solution is in the project target, select Link Binary with Libraries. A or the framework cancel and re-join , we can.

The problem with ld:warning:directory not found option may be that the framework search paths and the library search paths do not have this path, delete it

Duplicate is the meaning of repetition, then look at the code to remove the duplicate openudid, as well as Libwoa_two and Sbjson conflict, delete Sbjson point M can

"Library not found for-" solution

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.