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萬+
發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章