ld: library not found for -lAFNetworking

用pod出现编译错误, ld: library not found for -lAFNetworking

其实网上有很多解决方案,但是跟我遇到的都不对路。故纪录下来,以备以后学习查找。


第一:

http://stackoverflow.com/questions/31596552/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.





第二:
http://blog.csdn.net/yidu_blog/article/details/52682165


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.


发布了60 篇原创文章 · 获赞 13 · 访问量 20万+
發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章