IOS获取token崩溃
初始化成功,点击获取token,游戏崩溃,日志如下:
2020-06-29 18:02:19.388 12[2042:642282]| JIGUANG | D - [JIGUANGService] getToken:completion
2020-06-29 18:02:19.410 12[2042:642283]| JIGUANG | D - [JIGUANGUtilities] dataServiceIdentifier (null)
2020-06-29 18:02:19.416 12[2042:642280]| JIGUANG | D - [JIGUANGUtilities] dataServiceIdentifier (null)
2020-06-29 18:02:19.417 12[2042:642280]| JIGUANG | DD - [JIGUANGClientController] carrier :<1,1,0x1421a81a0>,[0x141a7ce20--1101516320] , generation:<1,1,0x1421abfb0>,[0x1017f6b58--727825]
2020-06-29 18:02:19.418 12[2042:642280]| JIGUANG | D - [JIGUANGClientController] current carrier CM
2020-06-29 18:02:19.418 12[2042:642280]| JIGUANG | DD - [JIGUANGClientController] current carrier name:中国移动,generation: 4g
2020-06-29 18:02:19.420 12[2042:642280]| JIGUANG | D - [JIGUANGService] current carrier CM
2020-06-29 18:02:19.420 12[2042:642280]| JIGUANG | DD - [JIGUANGService] NetEnv:37
2020-06-29 18:02:19.420 12[2042:642280]| JIGUANG | D - [JIGUANGService] getToken overtime 5000.0
2020-06-29 18:02:19.420 12[2042:642280]| JIGUANG | D - [JIGUANGMobileAdapter] 移动 请求token
2020-06-29 18:02:19.458 12[2042:642194] -[UACarrier networkCardCarrier]: unrecognized selector sent to instance 0x142035560
2020-06-29 18:02:19.657 12[2042:642194] Bugly: Trapped uncaught exception 'NSInvalidArgumentException', reason: '-[UACarrier networkCardCarrier]*: unrecognized selector sent to instance 0x142035560' *
(
0 CoreFoundation 0x000000018157d918 + 148
1 libobjc.A.dylib 0x0000000180bebf80 objc_exception_throw + 56
2 CoreFoundation 0x000000018158461c + 0
3 CoreFoundation 0x00000001815815b8 + 872
4 CoreFoundation 0x000000018148568c _CF_forwarding_prep_0 + 92
5 闲娱棋牌 0x0000000101326df0 -[UASDKLogin prepareRequestData] + 240
6 闲娱棋牌 0x0000000101329458 -[UASDKLogin sdkLoginWithModel:Completion:] + 320
7 闲娱棋牌 0x0000000101329300 -[UASDKLogin mobileAuthCompletion:] + 216
8 闲娱棋牌 0x0000000101395e84 __28-[JVMobileAdapter getToken:]_block_invoke + 264
9 libdispatch.dylib 0x00000001049e5bf0 _dispatch_call_block_and_release + 24
10 libdispatch.dylib 0x00000001049e5bb0 _dispatch_client_callout + 16
11 libdispatch.dylib 0x00000001049eb658 _dispatch_main_queue_callback_4CF + 2096
12 CoreFoundation 0x0000000181534bb0 + 12
13 CoreFoundation 0x0000000181532a18 + 1628
14 CoreFoundation 0x0000000181461680 CFRunLoopRunSpecific + 384
15 GraphicsServices 0x0000000182970088 GSEventRunModal + 180
16 UIKit 0x00000001862d8d90 UIApplicationMain + 204
17 闲娱棋牌 0x00000001001c0eec main + 96
18 libdyld.dylib 0x00000001810028b8 + 4
)
2020-06-29 18:02:19.865 12[2042:642257]| JIGUANG | I - [JIGUANGConnectManager] Action - disConnect
2020-06-29 18:02:19.868 12[2042:642257]| JIGUANG | I - [JIGUANGConnectManager] Action - closeConection
2020-06-29 18:02:19.868 12[2042:642257]| JIGUANG | D - [JIGUANGTcpSocket] 关闭TCP连接
2020-06-29 18:02:19.873 12[2042:642257]| JIGUANG | D - [JIGUANGTcpChannelController] Action - reenqueueSendingRequests
2020-06-29 18:02:19.874 12[2042:642257]| JIGUANG | D - [JIGUANGUtilities] JCOREPostNotificationWithUserInfo name: kJPUSHNetworkDidCloseNotification (null)
2020-06-29 18:02:20.677 12[2042:642194] *** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '-[UACarrier networkCardCarrier]: unrecognized selector sent to instance 0x142035560'
*** First throw call stack:
(0x18157d900 0x180bebf80 0x18158461c 0x1815815b8 0x18148568c 0x101326df0 0x101329458 0x101329300 0x101395e84 0x1049e5bf0 0x1049e5bb0 0x1049eb658 0x181534bb0 0x181532a18 0x181461680 0x182970088 0x1862d8d90 0x1001c0eec 0x1810028b8)
libc++abi.dylib: terminating with uncaught exception of type NSException
(lldb)