jpush / jpush/jpush-phonegap-plugin
报错:unrecognized selector sent to class 0x10f61b558
Open
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 922
- Forks
- 350
- PR merge metrics
- No merged PRs in 30d
Description
你的运行环境
- 插件版本:
- 平台(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.0和v3.8.1会报错。
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by comparing the iOS behavior of plugin versions v3.7.6, v3.8.0, and v3.8.1 under Cordova 10.0.0 and cordova-ios 6.0.0. Investigate the reported JPUSHService setupWithOption selector exception; done means the affected versions build and run without this uncaught exception.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- ios, javascript
- Domain
- mobile
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 30/100