美文网首页
CocoaPods引入第三方库报错ld: library not

CocoaPods引入第三方库报错ld: library not

作者: ziooooo | 来源:发表于2016-11-28 18:31 被阅读119次

接入个推SDK时,使用了CocoaPods,出现如下错误:

错误
想必是pod在引入的时候有问题。
回到terminal查看发现,pod在update成功时出现如下警告: 警告
意思就是 build setting 中 LIBRARY_SEARCH_PATHS 配置有问题,可能导致安装的问题。
根据提示,将 $(inherited)复制 粘贴到
Targets -> Build Settings -> Library Search Paths 中即可。 解决

编译通过。

相关文章

网友评论

      本文标题:CocoaPods引入第三方库报错ld: library not

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