美文网首页iOS开发
解决Library not found for -lxxxx方法

解决Library not found for -lxxxx方法

作者: 没了蜡笔de小新 | 来源:发表于2019-06-22 15:06 被阅读0次
Showing Recent Messages
:-1: Library not found for -lAFNetworking

使用pod添加第三方库,经常会报library not found for -lafnetworking错,说找不到这个库,特收集一下相关解决办法

1、更改pods-》project-》architectures-》build active architecture only都为NO

2、Target->BuildSetting->Library Search Path添加以$(PROJECT_DIR)/开始的相对路径

3、Other Linker Flag发现多余的头文件并删除

4、在product-》edit scheme中-》build里面添加pods的所有的库

5、删除pod的四个文件,重新创建

相关文章

网友评论

    本文标题:解决Library not found for -lxxxx方法

    本文链接:https://www.haomeiwen.com/subject/rrxvqctx.html