制作友盟分享静态库遇到的问题

error: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/libtool: can't locate file for: -lPods
error: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/libtool: file: -lPods is not an object file (not allowed in a library)

解决办法:
在target的buildsetting中把build active archetectures only的debug改为yes,release改为no。

你可能感兴趣的:(制作友盟分享静态库遇到的问题)