调用[WXApi sendReq:req]等待超过10秒,被系统kill,提示openUrl方法被watchdog 干掉,请问怎么解决该问题?
Exception Type: EXC_CRASH (SIGKILL)
Exception Codes: 0x0000000000000000, 0x0000000000000000
Exception Note: EXC_CORPSE_NOTIFY
Termination Reason: Namespace SPRINGBOARD, Code 0x8badf00d
Termination Description: SPRINGBOARD, scene-update watchdog transgression: ctrip.com exhausted real (wall clock) time allowance of 10.00 seconds | ProcessVisibility: Foreground | ProcessState: Running | WatchdogEvent: scene-update | WatchdogVisibility: Foreground | WatchdogCPUStatistics: ( | "Elapsed total CPU time (seconds): 6.920 (user 6.920, system 0.000), 12% CPU", | "Elapsed application CPU time (seconds): 0.154, 0% CPU" | )
Triggered by Thread: 0
Thread 0 name: Dispatch queue: com.apple.main-thread
Thread 0 Crashed:
0 libsystem_kernel.dylib 0x000000019568b0f4 mach_msg_trap + 8
1 libsystem_kernel.dylib 0x000000019568a5a0 mach_msg + 72
2 libdispatch.dylib 0x000000019550b408 _dispatch_mach_send_and_wait_for_reply + 500
3 libdispatch.dylib 0x000000019550b8a4 dispatch_mach_send_with_result_and_wait_for_reply$VARIANT$armv81 + 52
4 libxpc.dylib 0x000000019574fa04 xpc_connection_send_message_with_reply_sync + 204
5 Foundation 0x000000019667aa40 __NSXPCCONNECTION_IS_WAITING_FOR_A_SYNCHRONOUS_REPLY__ + 12
6 Foundation 0x000000019645df80 -[NSXPCConnection _sendInvocation:orArguments:count:methodSignature:selector:withProxy:] + 3608
7 Foundation 0x000000019648d554 -[NSXPCConnection _sendSelector:withProxy:arg1:arg2:arg3:] + 144
8 Foundation 0x00000001966805b4 _NSXPCDistantObjectSimpleMessageSend3 + 52
9 CoreServices 0x00000001be1b5a6c -[LSApplicationWorkspace openURL:withOptions:error:] + 248
10 UIKitCore 0x00000001c1f36234 -[UIApplication _openURL:] + 144
=========
同遇到该问题,[WXApi sendReq:xxx]; 该方法可以在子线程运行吗?@微信支付技术助手4
同遇到此问题,请教怎么解决的
您好,需要开发者自己实现