-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,直接删掉即可。

 

原文地址:https://www.cnblogs.com/richard-youth/p/8868592.html