本文解决了使用pod过程中出现的ld: library not found for -lAFNetworking错误。问题在于libPods未正确链接。解决步骤包括:在Xcode中进入项目设置的General部分,确保在Linked Frameworks and Libraries中包含了libPods.a。
用pod出现编译错误, ld: library not found for -lAFNetworking
I ran into the same issue. In my case what was happening was that for some reason libPods wasn't being linked.
Click on the project,
go to General,
click on your target and
then scroll down to Linked
Frameworks and Libraries. There I made sure to include libPods.a and then the project built fine. Hope that helps.
I ran into the same issue. In my case what was happening was that for some reason libPods wasn't being linked.
Click on the project,
go to General,
click on your target and
then scroll down to Linked
Frameworks and Libraries. There I made sure to include libPods.a and then the project built fine. Hope that helps.