iOS Project Project Dsymutil Error encountered while adding. a Files

Source: Internet
Author: User
To add. A files to the project, many tutorials are about:

Right-select add->existing files ..., select the. a file and the corresponding. h header file. Or drag the two files into the Xcode project directory structure, tick the copy items into destination Group's folder (if needed) in the popup screen, and make sure the add to targets tick the corresponding target.

But it's not really going so well. Added a few times. A files are in trouble, and today we meet again--

Ld:warning:directory not found for option '-l '/users/lanmei/work/iphone/trunk/baiying/baiying/... "

Ld:library not found For-lmobclicklibrary

Clang:error:linker command failed with exit code 1 (use-v to see invocation)

The root of the problem was finally found today. Look at the above warning in fact can find the root cause completely. The library compiler added to the project has no way to find the path.

You need to set the path in Xcode. When added, Xcode generates a path, but the path may be incorrect, causing the problem. Specific setting Location:

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.