iOS 集成最新版本的JPush,点击收到的通知后闪退

muhlenXi
2018-08-15 08:15 598 0

在走通知的回调之前就闪退了。

2018-08-15 15:50:21.237622+0800 FxSky[20248:5396502] {
    "_j_business" = 1;
    "_j_msgid" = 54043195977422706;
    "_j_uid" = 19629587431;
    aps =     {
        alert = "\U9700\U8981\U6ce8\U610f\U7684\U662f\Uff0cChrome \U548c Firefox \U6d4f\U89c8\U5668\U9ed8\U8ba4\U5e76\U4e0d\U4f7f\U7528\U7cfb\U7edf\U7684\U4ee3\U7406\U670d\U52a1\U5668\U8bbe\U7f6e";
        badge = 1;
        sound = default;
    };
}
2018-08-15 15:50:21.237786+0800 FxSky[20248:5396502] -[JPUSHService handleRemoteNotification:]: unrecognized selector sent to instance 0x159452970
2018-08-15 15:50:21.323858+0800 FxSky[20248:5396502] invalid mode 'kCFRunLoopCommonModes' provided to CFRunLoopRunSpecific - break on _CFRunLoopError_RunCalledWithInvalidMode to debug. This message will only appear once per execution.
2018-08-15 15:50:21.360656+0800 FxSky[20248:5396502] UMLOG: error: session_id=B1009C782BC62C83728DDAE5F94B57BD, context=-[JPUSHService handleRemoteNotification:]: unrecognized selector sent to instance 0x159452970
(null)
((
    0   CoreFoundation                      0x00000001829aeda4 <redacted> + 252
    1   libobjc.A.dylib                     0x0000000181b685ec objc_exception_throw + 56
    2   CoreFoundation                      0x00000001829bc098 <redacted> + 0
    3   CoreFoundation                      0x00000001829b45c8 <redacted> + 1380
    4   CoreFoundation                      0x000000018289a41c _CF_forwarding_prep_0 + 92
    5   FxSky                               0x00000001011f03c0 _ZL38MPushDidReceiveNotificationResponseIMPP11objc_objectP13objc_selectorS0_S0_U13block_pointerFvvE + 624
    6   UIKit                               0x000000018c58032c <redacted> + 2664
    7   UIKit                               0x000000018c549f04 <redacted> + 1632
    8   UIKit                               0x000000018d1df72c <redacted> + 296
    9   UIKit                               0x000000018c549268 <redacted> + 432
    10  UIKit                               0x000000018cfc49b8 <redacted> + 220
    11  UIKit                               0x000000018d112ae8 _performActionsWithDelayForTransitionContext + 112
    12  UIKit                               0x000000018c548c88 <redacted> + 248
    13  UIKit                               0x000000018c548624 <redacted> + 368
    14  UIKit                               0x000000018c5863b0 <redacted> + 468
    15  FrontBoardServices                  0x00000001851acf24 <redacted> + 212
    16  libdispatch.dylib                   0x0000000103831220 _dispatch_client_callout + 16
    17  libdispatch.dylib                   0x000000010383d850 _dispatch_block_invoke_direct + 232
    18  FrontBoardServices                  0x00000001851e0878 <redacted> + 36
    19  FrontBoardServices                  0x00000001851e051c <redacted> + 404
    20  FrontBoardServices                  0x00000001851e0ab8 <redacted> + 56
    21  CoreFoundation                      0x0000000182957404 <redacted> + 24
    22  CoreFoundation                      0x0000000182956c2c <redacted> + 276
    23  CoreFoundation                      0x000000018295479c <redacted> + 1204
    24  CoreFoundation                      0x0000000182874da8 CFRunLoopRunSpecific + 552
    25  GraphicsServices                    0x0000000184857020 GSEventRunModal + 100
    26  UIKit                               0x000000018c85578c UIApplicationMain + 236
    27  FxSky                               0x0000000101083d44 main + 76
    28  libdyld.dylib                       0x0000000182305fc0 <redacted> + 4
)

dSYM UUID: B831DD5B-B161-370D-A2AD-EF5C81E00D5B
CPU Type: arm64
Slide Address: 0x0000000100000000
Binary Image: FxSky
Base Address: 0x0000000100e04000
2018-08-15 15:50:21.370287+0800 FxSky[20248:5396502] UMLOG: session: session_id=B1009C782BC62C83728DDAE5F94B57BD, duration=31133.000000
2018-08-15 15:50:21.849716+0800 FxSky[20248:5396693]  | JIGUANG | I - [JIGUANGSessionController] connecting with coreAddr 121.46.30.58,port 7004
libc++abi.dylib: terminate_handler unexpectedly threw an exception
(lldb) 

1个回答

热门排序
  • 具体说明你使用的 SDK 版本号是多少?

    是仅使用了 JPush SDK 吗?使用我们的 demo 测试有没有异常?

    该错误必现?