-lPods-NewsPushClientSDK is not an object file (not allowed in a library)

今天在给客户定制SDK的过程中,出现了下面的一个问题,具有代表性,现在记录下来

问题:

Showing All Errors Only

: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/libtool: file: -lPods-NewsPushClientSDK is not an object file (not allowed in a library)

解决:在build phases 里面,link binary with libraries 里面找到NewsPushClientSDK,直接删掉即可。

 

posted @ 2018-04-17 18:32  yoowei  阅读(1510)  评论(0编辑  收藏  举报