收藏
回答

调用[WXApi registerApp:@"xxx" universalLink 出现了crash

框架类型 问题类型 API/组件名称 终端类型 微信版本 基础库版本
小程序 Bug app 微信iOS客户端 1.8.7.1 2.
Date/Time:           2020-11-07 13:54:27.0478 +0800

Launch Time:         2020-11-07 13:50:33.7676 +0800

OS Version:          iPhone OS 14.1 (18A8395)

Release Type:        User

Baseband Version:    3.00.01

Report Version:      104



Exception Type:  EXC_CRASH (SIGABRT)

Exception Codes: 0x0000000000000000, 0x0000000000000000

Exception Note:  EXC_CORPSE_NOTIFY

Triggered by Thread:  0



Thread 0 name:

Thread 0 Crashed:

0   libsystem_kernel.dylib        	0x00000001be3bc98c __pthread_kill + 8

1   libsystem_pthread.dylib       	0x00000001da14ac74 pthread_kill + 272 (pthread.c:1375)

2   libsystem_c.dylib             	0x000000019b392bb4 abort + 104 (abort.c:110)

3   MobileAPP                	0x000000010258eda0 -[AppDelegate WXRegister] + 35335584 (AppDelegate.m:2044)

4   UIKitCore                     	0x0000000195074b3c -[UIViewAnimationState sendDelegateAnimationDidStop:finished:] + 248 (UIView.m:0)

5   UIKitCore                     	0x0000000195075070 -[UIViewAnimationState animationDidStop:finished:] + 248 (UIView.m:2233)

6   UIKit                         	0x00000001da421128 -[UIViewAnimationStateAccessibility animationDidStop:finished:] + 204 (UIViewAnimationStateAccessibility.m:101)

7   QuartzCore                    	0x00000001955ced58 CA::Layer::run_animation_callbacks(void*) + 280 (CALayer.mm:7169)

8   libdispatch.dylib             	0x0000000191e58ac8 _dispatch_client_callout + 20 (object.m:559)

9   libdispatch.dylib             	0x0000000191e6604c _dispatch_main_queue_callback_4CF + 836 (inline_internal.h:2548)

10  CoreFoundation                	0x00000001921d71e4 __CFRUNLOOP_IS_SERVICING_THE_MAIN_DISPATCH_QUEUE__ + 16 (CFRunLoop.c:1790)

11  CoreFoundation                	0x00000001921d13b4 __CFRunLoopRun + 2508 (CFRunLoop.c:3118)

12  CoreFoundation                	0x00000001921d04bc CFRunLoopRunSpecific + 600 (CFRunLoop.c:3242)

13  GraphicsServices              	0x00000001a8ce2820 GSEventRunModal + 164 (GSEvent.c:2259)

14  UIKitCore                     	0x0000000194b7d164 -[UIApplication _run] + 1072 (UIApplication.m:3270)

15  UIKitCore                     	0x0000000194b82840 UIApplicationMain + 168 (UIApplication.m:4739)

16  MobileAPP                 	0x000000010209c824 main + 30148644 (main.m:15)

17  libdyld.dylib                 	0x0000000191e97e40 start + 4

- (void)WXRegister {
     [WXApi registerApp:@"wx1234567889" universalLink:kAPPUniversalLink];
}


在APP启动,调用[WXApi registerApp:@"wx1234567889" universalLink:kAPPUniversalLink]; 出现了crash,有点蒙蔽,也不是找不到方法


最后一次编辑于  星期四 10:00
回答关注问题邀请回答
收藏

1 个回答

  • 仰望星空
    仰望星空
    11-20

    我看到之前的他们报的错误大多数是+[WXApi registerApp:universalLink:]: unrecognized selector sent to class ,而我的crash堆栈不是这个了,


    @社区技术运营专员-阳光, @微信官方

    11-20
    有用
    回复
登录 后发表内容
问题标签