gpt4 book ai didi

ios - 谷歌分析在不同系统机器上崩溃 iOS

转载 作者:行者123 更新时间:2023-11-29 03:25:01 25 4
gpt4 key购买 nike

这段代码在我这边运行良好,但是当我将代码切换到不同的机器时,它开始崩溃

使用 Xcode 5

使用我的自定义异常处理程序,我可以打印此内容

2013-12-13 00:50:52.846 Christmas[3236:907] -[GAI logger]: unrecognized selector sent to instance 0xb879440
2013-12-13 00:50:52.848 Christmas[3236:907] GoogleAnalytics 2.0b4 void GAIUncaughtExceptionHandler(NSException *) (GAIUncaughtExceptionHandler.m:41): Uncaught exception: -[GAI logger]: unrecognized selector sent to instance 0xb879440
2013-12-13 00:50:55.835 Christmas[3236:907] [1] __45-[TServer syncSupportedLangsWithFinishBlock:]_block_invoke [Line 1260] Supported Languages fetched
2013-12-13 00:50:55.884 Christmas[3236:907] [1] __37-[SearchTransaltionVC syncDataSource]_block_invoke [Line 175] Fetching Data ended
2013-12-13 00:50:55.885 Christmas[3236:907] [1] __37-[SearchTransaltionVC syncDataSource]_block_invoke [Line 178] Error occurred
2013-12-13 00:50:55.885 Christmas[3236:907] [1] __37-[SearchTransaltionVC syncDataSource]_block_invoke [Line 179] Error Domain=TServer Code=-1 "user object is requried for fetching details" UserInfo=0xa497230 {NSLocalizedDescription=user object is requried for fetching details}
2013-12-13 00:50:57.852 Christmas[3236:907] [1] void uncaughtExceptionHandler(NSException *__strong) [Line 32] CRASH: -[GAI logger]: unrecognized selector sent to instance 0xb879440
2013-12-13 00:50:57.856 Christmas[3236:907] [1] void uncaughtExceptionHandler(NSException *__strong) [Line 33] Stack Trace: (
0 CoreFoundation 0x02eb202e __exceptionPreprocess + 206
1 libobjc.A.dylib 0x02414e7e objc_exception_throw + 44
2 CoreFoundation 0x02f3d4bd -[NSObject(NSObject) doesNotRecognizeSelector:] + 253
3 CoreFoundation 0x02ea1bbc ___forwarding___ + 588
4 CoreFoundation 0x02ea194e _CF_forwarding_prep_0 + 14
5 Christmas 0x00002a1e -[TranslatorAppDelegate application:didFinishLaunchingWithOptions:] + 702
6 UIKit 0x01356157 -[UIApplication _handleDelegateCallbacksWithOptions:isSuspended:restoreState:] + 266
7 UIKit 0x01356747 -[UIApplication _callInitializationDelegatesForURL:payload:suspended:] + 1248
8 UIKit 0x0135794b -[UIApplication _runWithURL:payload:launchOrientation:statusBarStyle:statusBarHidden:] + 805
9 UIKit 0x01368cb5 -[UIApplication handleEvent:withNewEvent:] + 1022
10 UIKit 0x01369beb -[UIApplication sendEvent:] + 85
11 UIKit 0x0135b698 _UIApplicationHandleEvent + 9874
12 GraphicsServices 0x0329cdf9 _PurpleEventCallback + 339
13 GraphicsServices 0x0329cad0 PurpleEventCallback + 46
14 CoreFoundation 0x02e27bf5 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE1_PERFORM_FUNCTION__ + 53
15 CoreFoundation 0x02e27962 __CFRunLoopDoSource1 + 146
16 CoreFoundation 0x02e58bb6 __CFRunLoopRun + 2118
17 CoreFoundation 0x02e57f44 CFRunLoopRunSpecific + 276
18 CoreFoundation 0x02e57e1b CFRunLoopRunInMode + 123
19 UIKit 0x0135717a -[UIApplication _run] + 774
20 UIKit 0x01358ffc UIApplicationMain + 1211
21 Christmas 0x0000248c main + 76
22 Christmas 0x00002435 start + 53
)
2013-12-13 00:50:57.857 Christmas[3236:907] *** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '-[GAI logger]: unrecognized selector sent to instance 0xb879440'
*** First throw call stack:
(0x2eb2012 0x2414e7e 0x2f3d4bd 0x2ea1bbc 0x2ea194e 0x2a1e 0x1356157 0x1356747 0x135794b 0x1368cb5 0x1369beb 0x135b698 0x329cdf9 0x329cad0 0x2e27bf5 0x2e27962 0x2e58bb6 0x2e57f44 0x2e57e1b 0x135717a 0x1358ffc 0x248c 0x2435)
libc++abi.dylib: terminate called throwing an exception

最佳答案

这次崩溃与 Google Analytics 完全无关。 Google Analytics 只是记录未捕获的异常。从第三行 - TServer 开始,然后从那里开始

关于ios - 谷歌分析在不同系统机器上崩溃 iOS,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/20552438/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com