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)