收藏
回答

友盟分享SDK6.9.7 加入微信最新SDK1.8.6.1报崩溃?

友盟分享SDK6.9.7 加入微信最新SDK1.8.6.1会崩溃

错误信息如下:

2020-02-12 10:16:21 UMengAnalytics<6.0.5>(Debug):[UMANError:62]UMAnalytics error:session_id=2228E236EA253C639C0010DD3B79D4C8, context=+[WXApi registerApp:]: unrecognized selector sent to class 0x102f2fec0

(null)

((

    0   CoreFoundation                      0x000000019a25ea5c 7519E999-1053-3367-B9D5-8844F6D3BDC6 + 1227356

    1   libobjc.A.dylib                     0x0000000199f85fa4 objc_exception_throw + 56

    2   CoreFoundation                      0x000000019a166e34 7519E999-1053-3367-B9D5-8844F6D3BDC6 + 212532

    3   IAUGold                             0x00000001025b7488 +[NSObject(Singleton) sw_doesNotRecognizeSelector:] + 184

    4   CoreFoundation                      0x000000019a262af4 7519E999-1053-3367-B9D5-8844F6D3BDC6 + 1243892

    5   CoreFoundation                      0x000000019a264a7c _CF_forwarding_prep_0 + 92

    6   IAUGold                             0x0000000102b4ecbc -[UMSocialOfficialWechatHandler umSocial_setAppKey:withAppSecret:withRedirectURL:] + 132

    7   IAUGold                             0x0000000102ac9680 -[UMSocialManager doSetPlaform:appKey:appSecret:redirectURL:] + 524

    8   IAUGold                             0x0000000102ac0a1c -[UMSocialManager doSetPlaformTypeArray:appKey:appSecret:redirectURL:] + 296

    9   IAUGold                             0x0000000102ac0dcc -[UMSocialManager setPlaform:appKey:appSecret:redirectURL:] + 832

    10  IAUGold                             0x00000001026afffc -[AppDelegate configUSharePlatforms] + 120

    11  IAUGold                             0x00000001026ad758 __57-[AppDelegate application:didFinishLaunchingWithOptions:]_block_invoke + 76

    12  libdispatch.dylib                   0x00000001038517fc _dispatch_call_block_and_release + 24

    13  libdispatch.dylib                   0x0000000103852bd8 _dispatch_client_callout + 16

    14  libdispatch.dylib                   0x0000000103860c34 _dispatch_main_queue_callback_4CF + 1316

    15  CoreFoundation                      0x000000019a1dc5e4 7519E999-1053-3367-B9D5-8844F6D3BDC6 + 693732

    16  CoreFoundation                      0x000000019a1d75d8 7519E999-1053-3367-B9D5-8844F6D3BDC6 + 673240

    17  CoreFoundation                      0x000000019a1d6adc CFRunLoopRunSpecific + 464

    18  GraphicsServices                    0x00000001a4177328 GSEventRunModal + 104

    19  UIKitCore                           0x000000019e2e463c UIApplicationMain + 1936

    20  IAUGold                             0x00000001026ad134 main + 124

    21  libdyld.dylib                       0x000000019a060360 7B531A15-3E73-3185-90E2-B88D9476DA5E + 4960

)


dSYM UUID: AC15CF98-D168-3245-B7BF-501EC5BA7104

CPU Type: arm64

Slide Address: 0x0000000100000000

Binary Image: IAUGold

Base Address: 0x0000000102118000


2020-02-12 10:16:21 UMengAnalytics<6.0.5>(Debug):[UMANTerminate:126]UMAnalytics session:session_id=2228E236EA253C639C0010DD3B79D4C8, duration=1654.000000

libc++abi.dylib: terminate_handler unexpectedly threw an exception


但是我如果使用以前版本的微信SDK就没事

请问这是为什么?

回答关注问题邀请回答
收藏

1 个回答

  • 微信技术专员-aizen
    微信技术专员-aizen
    02-12

    你好,从堆栈上看友盟SDK调用的还是旧版本SDK的接口[WXApi registerApp:],新版本SDK已经更新了这个接口,调整为[WXApi registerApp:universalLink:]。

    因此,请检查友盟SDK是否有更新版本适配1.8.6版本的微信SDK

    02-12
    赞同
    回复 1
    • 🏀
      🏀
      02-13
      你好,有的,我是最新的友盟分享6.9.7,他们有适配微信1.8.6
      02-13
      回复
登录 后发表内容
问题标签