Xcode: ld: library not found for -lAFNetworking

Akbapu picture Akbapu · Sep 18, 2015 · Viewed 54k times · Source

Because of this one reason, build always fails...Any ideas about what I could try?

Because of this one reason, build always fails...Any ideas about what I could try?

EDIT: the solution is to open the xcworkspace instead of the xcproject!

Answer

Jagdeep Singh picture Jagdeep Singh · Jun 20, 2017

Might be you are opening .xcodeproj file after installing pods. Close the project and open .xcworkspace file.