Coder Social home page Coder Social logo

setAPNS 报错 about timsdk HOT 2 CLOSED

tencentcloud avatar tencentcloud commented on June 14, 2024
setAPNS 报错

from timsdk.

Comments (2)

JQHee avatar JQHee commented on June 14, 2024
  • thread #1, queue = 'com.apple.main-thread', stop reason = EXC_BAD_ACCESS (code=1, address=0x0)
    frame #0: 0x00000001bb4ea384 libsystem_platform.dylib_platform_strlen + 4 frame #1: 0x00000001baa77388 libc++.1.dylibstd::__1::basic_string<char, std::__1::char_traits, std::__1::allocator >::assign(char const*) + 28
    frame #2: 0x00000001033e4594 ImSDK`-[TIMManager setAPNS:succ:fail:] + 180
    • frame #3: 0x0000000100cb8c48 EocAnstar-[AppDelegate registOfflineNotification](self=0x000000028263edf0, _cmd="registOfflineNotification") at AppDelegate.m:170 frame #4: 0x0000000100cb8560 EocAnstar-[AppDelegate initIMSDK](self=0x000000028263edf0, _cmd="initIMSDK") at AppDelegate.m:120
      frame #5: 0x0000000100cb83e4 EocAnstar-[AppDelegate application:didFinishLaunchingWithOptions:](self=0x000000028263edf0, _cmd="application:didFinishLaunchingWithOptions:", application=0x000000012fe02f80, launchOptions=0x0000000000000000) at AppDelegate.m:109 frame #6: 0x00000001e8bf3ca0 UIKitCore-[UIApplication _handleDelegateCallbacksWithOptions:isSuspended:restoreState:] + 412
      frame #7: 0x00000001e8bf5408 UIKitCore-[UIApplication _callInitializationDelegatesForMainScene:transitionContext:] + 3340 frame #8: 0x00000001e8bfae54 UIKitCore-[UIApplication _runWithMainScene:transitionContext:completion:] + 1552
      frame #9: 0x00000001e849693c UIKitCore__111-[__UICanvasLifecycleMonitor_Compatability _scheduleFirstCommitForScene:transition:firstActivation:completion:]_block_invoke + 784 frame #10: 0x00000001e849f5bc UIKitCore+[_UICanvas _enqueuePostSettingUpdateTransactionBlock:] + 160
      frame #11: 0x00000001e84965b8 UIKitCore-[__UICanvasLifecycleMonitor_Compatability _scheduleFirstCommitForScene:transition:firstActivation:completion:] + 240 frame #12: 0x00000001e8496f58 UIKitCore-[__UICanvasLifecycleMonitor_Compatability activateEventsOnly:withContext:completion:] + 1076
      frame #13: 0x00000001e8495058 UIKitCore__82-[_UIApplicationCanvas _transitionLifecycleStateWithTransitionContext:completion:]_block_invoke + 772 frame #14: 0x00000001e8494d04 UIKitCore-[_UIApplicationCanvas _transitionLifecycleStateWithTransitionContext:completion:] + 432
      frame #15: 0x00000001e8499ec4 UIKitCore__125-[_UICanvasLifecycleSettingsDiffAction performActionsForCanvas:withUpdatedScene:settingsDiff:fromSettings:transitionContext:]_block_invoke + 220 frame #16: 0x00000001e849ae24 UIKitCore_performActionsWithDelayForTransitionContext + 112
      frame #17: 0x00000001e8499d7c UIKitCore-[_UICanvasLifecycleSettingsDiffAction performActionsForCanvas:withUpdatedScene:settingsDiff:fromSettings:transitionContext:] + 248 frame #18: 0x00000001e849ec68 UIKitCore-[_UICanvas scene:didUpdateWithDiff:transitionContext:completion:] + 368
      frame #19: 0x00000001e8bf934c UIKitCore-[UIApplication workspace:didCreateScene:withTransitionContext:completion:] + 540 frame #20: 0x00000001e87e4244 UIKitCore-[UIApplicationSceneClientAgent scene:didInitializeWithEvent:completion:] + 364
      frame #21: 0x00000001be3149d4 FrontBoardServices-[FBSSceneImpl _didCreateWithTransitionContext:completion:] + 444 frame #22: 0x00000001be31f79c FrontBoardServices__56-[FBSWorkspace client:handleCreateScene:withCompletion:]_block_invoke_2 + 260
      frame #23: 0x00000001be31ee94 FrontBoardServices__40-[FBSWorkspace _performDelegateCallOut:]_block_invoke + 64 frame #24: 0x0000000103780dc8 libdispatch.dylib_dispatch_client_callout + 16
      frame #25: 0x0000000103784a10 libdispatch.dylib_dispatch_block_invoke_direct + 232 frame #26: 0x00000001be353a9c FrontBoardServicesFBSSERIALQUEUE_IS_CALLING_OUT_TO_A_BLOCK + 40
      frame #27: 0x00000001be353728 FrontBoardServices-[FBSSerialQueue _performNext] + 416 frame #28: 0x00000001be353d44 FrontBoardServices-[FBSSerialQueue _performNextFromRunLoopSource] + 56
      frame #29: 0x00000001bb86e0e0 CoreFoundation__CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 24 frame #30: 0x00000001bb86e060 CoreFoundation__CFRunLoopDoSource0 + 88
      frame #31: 0x00000001bb86d944 CoreFoundation__CFRunLoopDoSources0 + 176 frame #32: 0x00000001bb868810 CoreFoundation__CFRunLoopRun + 1040
      frame #33: 0x00000001bb8680e0 CoreFoundationCFRunLoopRunSpecific + 436 frame #34: 0x00000001bdae1584 GraphicsServicesGSEventRunModal + 100
      frame #35: 0x00000001e8bfcc00 UIKitCoreUIApplicationMain + 212 frame #36: 0x0000000100cc3238 EocAnstarmain(argc=1, argv=0x000000016f6bb7e8) at main.m:6
      frame #37: 0x00000001bb326bb4 libdyld.dylib`start + 4

from timsdk.

lynxzhang avatar lynxzhang commented on June 14, 2024

TIMAPNSConfig 的参数c2cSound,groupSound,videoSound 如果不使用,请先设置为@"" ,这个问题我们本周会发版本保护优化

from timsdk.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.