jpush / jpush/jpush-phonegap-plugin

报错:unrecognized selector sent to class 0x10f61b558

Open
#438 2 comments 0 reactions 0 assignees View on GitHub

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.0v3.8.1会报错。

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.