html52.com
我爱小程序-开发者交流社区

调用[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   CCBMobileBank                 	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  CCBMobileBank                 	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,有点蒙蔽,也不是找不到方法



网友回复

仰望星空:

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

评论 抢沙发

  • 昵称 (必填)
  • 邮箱 (必填)
  • 网址

真正的个人免签约支付接口

云免签H5支付