jpush-react-native
jpush-react-native copied to clipboard
Cannot initialize a parameter of type 'id<JPUSHRegisterDelegate>' with an lvalue of type 'AppDelegate *const __strong'
你的运行环境
- 插件版本:
- react-native 版本:0.62
期望效果
在Xcode-->TARGETS-->Build Setting-->Apple Clang - Language-->Compile Source As在这个选项中选择 Objective-C++ 期望能够正常编译运行
实际效果
之后编译的时候JPush会报这个错:


重现步骤
- ...
- ...
- ...
- ...
Debug logs
Cannot initialize a parameter of type 'id<JPUSHRegisterDelegate>' with an lvalue of type 'AppDelegate *const __strong'
Cannot initialize a parameter of type 'id<JPUSHGeofenceDelegate>' with an lvalue of type 'AppDelegate *const __strong' 包括 Android 或 iOS 的日志:
老铁,又碰见你了。 我也遇见同样的问题了。 你是怎么解决的啊
最新版本应该没有这个问题了吧?
这个插件的最新版本吗?