Swift使用Pod集成问题

arden
2016-04-25 01:34 904 0

我今天的Swift项目用pod集成了这个最新版本,可是编译的时候报下面这个错误
https://github.com/jpush/jpush-ios-sdk-pod

ld: -weak_library and -bitcode_bundle (Xcode setting ENABLE_BITCODE=YES) cannot be used together
clang: error: linker command failed with exit code 1 (use -v to see invocation)

我想是不是因为你们的这个pod里用了
"xcconfig": {
"OTHER_LDFLAGS": "-weak_library /usr/lib/libz.dylib"
}
这个引起的。

1个回答

热门排序
  • jiminy
    2016-04-25 03:00

    所谓最新版本到底指jpush的什么版本?
    测试设备的系统又是什么的?