Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

报错:unrecognized selector sent to class 0x10f61b558 #438

Open
imtiantian opened this issue Jun 7, 2021 · 2 comments
Open

报错:unrecognized selector sent to class 0x10f61b558 #438

imtiantian opened this issue Jun 7, 2021 · 2 comments

Comments

@imtiantian
Copy link

你的运行环境

  • 插件版本:
  • 平台(iOS):
  • Cordova version (10.0.0):
  • Cordova platform version (cordova-ios==6.0.0"):

期望效果

能正常使用

实际效果

ios报错

重现步骤

可以build成功,但是run的时候报错

libc++abi: terminating with uncaught exception of type NSException
*** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '+[JPUSHService setupWithOption:appKey:channel:apsForProduction:advertisingIdentifier:]: unrecognized selector sent to class 0x10f61b558'
terminating with uncaught exception of type NSException

经过测试,v3.7.6是正常的,v3.8.0v3.8.1会报错。

@conkyliu
Copy link

我也是刚报错,上午正常的

@happyi
Copy link

happyi commented Jul 26, 2021

JPushPlugin.m 的第532行 修改成这样就行了 。
[JPUSHService setupWithOption:userInfo
appKey:appkey
channel:channel
apsForProduction:[isProduction boolValue]];

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants