2019-12-04 10:56:48.631573+0800 superfish[24114:6357375] Uncaught exception: NSInvalidArgumentException: +[WXApi genExtraUrlByReq:withAppData:]: unrecognized selector sent to class 0x10fad53f0
(
0 CoreFoundation 0x00000001b9201820 FF63481D-FB6A-353B-B2C1-AC4EAECF594D + 1226784
1 libobjc.A.dylib 0x00000001b8f29fa4 objc_exception_throw + 56
2 CoreFoundation 0x00000001b9109bf8 FF63481D-FB6A-353B-B2C1-AC4EAECF594D + 211960
3 CoreFoundation 0x00000001b9205c88 FF63481D-FB6A-353B-B2C1-AC4EAECF594D + 1244296
4 CoreFoundation 0x00000001b9207a6c _CF_forwarding_prep_0 + 92
5 UnityiOSPlatform 0x000000010f9f9b08 +[WXApi sendReq:isAutoResend:forceScheme:completion:] + 1948
6 UnityiOSPlatform 0x000000010f9f9358 +[WXApi sendReq:completion:] + 68
7 UnityiOSPlatform 0x000000010f9b5bc8 -[YQPayManager payWxWithDic:] + 1100
8 UnityiOSPlatform 0x000000010f9b5674 __27-[YQPayManager requestToWX]_block_invoke + 132
9 UnityiOSPlatform 0x000000010f9d713c __59+[YQPayNetUtil requestWXPayWithParameters:success:failure:]_block_invoke + 212
10 UnityiOSPlatform 0x000000010f9b2c04 __79-[UnityiOSPlatformNetUtil af_BasePostWithURLString:parameters:success:failure:]_block_invoke + 884
11 superfish 0x0000000104edd338 __83-[UnityiOSPlatformSDK af_BasePostWithURLString:parameters:timeout:success:failure:]_block_invoke + 120
12 CommonLib 0x000000010f2a9860 __77+[YQNetworkUtil af_BasePostWithURLString:parameters:timeout:success:failure:]_block_invoke + 168
13 CommonLib 0x000000010f2bbfbc __124-[AFHTTPSessionManager dataTaskWithHTTPMethod:URLString:parameters:headers:uploadProgress:downloadProgress:success:failure:]_block_invoke_2 + 216
14 CommonLib 0x000000010f29f70c __72-[AFURLSessionManagerTaskDelegate URLSession:task:didCompleteWithError:]_block_invoke_2.106 + 224
15 libdispatch.dylib 0x00000001b8ece610 B7EED4C7-560D-3DA6-9B50-ED52A150AAC6 + 374288
16 libdispatch.dylib 0x00000001b8ecf184 B7EED4C7-560D-3DA6-9B50-ED52A150AAC6 + 377220
17 libdispatch.dylib 0x00000001b8e81000 B7EED4C7-560D-3DA6-9B50-ED52A150AAC6 + 57344
18 CoreFoundation 0x00000001b917f3a8 FF63481D-FB6A-353B-B2C1-AC4EAECF594D + 693160
19 CoreFoundation 0x00000001b917a39c FF63481D-FB6A-353B-B2C1-AC4EAECF594D + 672668
20 CoreFoundation 0x00000001b91798a0 CFRunLoopRunSpecific + 464
21 GraphicsServices 0x00000001c30d1328 GSEventRunModal + 104
22 UIKitCore 0x00000001bd26a740 UIApplicationMain + 1936
23 superfish 0x0000000104e0b4e4 main + 212
24 libdyld.dylib 0x00000001b9004360 1DB44CE7-7030-3D97-9461-6EC743F47783 + 4960
)
是不是没有添加白名单:weixinULAPI
你好,麻烦提供下微信号,我们一起看下这个问题
[WXApi registerApp:WXKey universalLink:@"xxx"]; 调用这个接口 如果后面传一个url 就会出现上面的错误