ld: library not found for -lAFNetworking

本文解决了使用pod过程中出现的ld: library not found for -lAFNetworking错误。问题在于libPods未正确链接。解决步骤包括:在Xcode中进入项目设置的General部分,确保在Linked Frameworks and Libraries中包含了libPods.a。

用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.youkuaiyun.com/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.


评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值