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

Source: Internet
Author: User
The reason for the occurrence of a group of small partners today, a problem, the purpose is to make a record, and hope to have the help of students in need.

Originally used AFN 2.x.x want to upgrade, in the case of the original did not use Cocoapods, the use of the cocoapods added to the new version of AFN, the results appear the title of the problem.

After a similar problem of Google solution, in StackOverflow also saw a lot of similar problems, but does not seem to solve my small partners encountered problems.

Here's my solution: completely delete the Cocoapods managed library and re-add it manually

You can refer to this
Or you can also refer to this
or here

My suggestion: In the premise of unclear cocoapods principle, if use manual management tripartite Library, it is best not to use cocoapods, if must use this way, try not to manage duplicate tripartite library.

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

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.