jpush / jpush-react-native

JPush's officially supported React Native plugin (Android & iOS). 极光推送官方支持的 React Native 插件(Android & iOS)。
http://docs.jiguang.cn
MIT License
1.35k stars 340 forks source link

最新版本上存在bug,导致iOS编译失败 #862

Open WangZiXiao-ChenDu opened 2 years ago

WangZiXiao-ChenDu commented 2 years ago

你的运行环境

期望效果

请把Build Phases -> Link Binary With Libraries 中的 libjpush-ios-3.3.6.a 改为 libjpush-ios-3.7.4.a

重现步骤

编译报错

Debug logs

error: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/libtool: can't locate file for: -ljpush-ios-3.3.6 error: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/libtool: file: -ljpush-ios-3.3.6 is not an object file (not allowed in a library) Command Libtool failed with a nonzero exit code

can't locate file for: -ljpush-ios-3.3.6 file: -ljpush-ios-3.3.6 is not an object file (not allowed in a library)

备注:jcore-react-native存在相同的问题