应用程序更新后读取崩溃日志
Posted
技术标签:
【中文标题】应用程序更新后读取崩溃日志【英文标题】:reading crash logs itunes after app update 【发布时间】:2013-08-26 07:07:13 【问题描述】:我已经在 AppStore 中发布了我的应用程序的更新,它很快就被接受了。然而,它在更新后立即崩溃。如果安装在干净的设备上它可以工作,但如果存在旧版本则崩溃......我想我搞砸了一些东西,我试图弄清楚是什么。我从 iTunes Connect 收到崩溃报告,但它们并没有告诉我太多。在我在 *** 问题上看到的其他崩溃日志中,有类名、方法名和崩溃行。虽然我所有的崩溃报告都只包含字节,这些字节给我零信息,哪里和哪里出了问题。
Exception Type: EXC_CRASH (SIGABRT)
Exception Codes: 0x0000000000000000, 0x0000000000000000
Crashed Thread: 0
Last Exception Backtrace:
0 CoreFoundation 0x3231b3e2 __exceptionPreprocess + 158
1 libobjc.A.dylib 0x3a01695e objc_exception_throw + 26
2 CoreFoundation 0x32266ef4 -[__NSArrayM objectAtIndex:] + 160
3 kodinisRaktas 0x000b939a 0x0009f000 + 107418
4 kodinisRaktas 0x000b9282 0x0009f000 + 107138
5 kodinisRaktas 0x000a2434 0x0009f000 + 13364
6 UIKit 0x34149574 -[UIViewController loadViewIfRequired] + 360
7 UIKit 0x3419e1f2 -[UIViewController contentScrollView] + 22
8 UIKit 0x3419e138 -[UINavigationController _computeAndApplyScrollContentInsetDeltaForViewController:] + 24
9 UIKit 0x3419e01c -[UINavigationController _layoutViewController:] + 28
10 UIKit 0x3419df48 -[UINavigationController _updateScrollViewFromViewController:toViewController:] + 268
11 UIKit 0x3419d694 -[UINavigationController _startTransition:fromViewController:toViewController:] + 60
12 UIKit 0x3419d57c -[UINavigationController _startDeferredTransitionIfNeeded:] + 320
13 UIKit 0x3416e55c -[UILayoutContainerView layoutSubviews] + 176
14 UIKit 0x3412d8c2 -[UIView(CALayerDelegate) layoutSublayersOfLayer:] + 254
15 QuartzCore 0x33ed950e -[CALayer layoutSublayers] + 210
16 QuartzCore 0x33ed90b0 CA::Layer::layout_if_needed(CA::Transaction*) + 456
17 QuartzCore 0x33f07eca -[CALayer layoutIfNeeded] + 138
18 UIKit 0x341d70dc -[UIViewController window:setupWithInterfaceOrientation:] + 204
19 UIKit 0x341d62c6 -[UIWindow _setRotatableClient:toOrientation:updateStatusBar:duration:force:isRotating:] + 3598
20 UIKit 0x341d54aa -[UIWindow _setRotatableClient:toOrientation:updateStatusBar:duration:force:] + 42
21 UIKit 0x341d5434 -[UIWindow _setRotatableViewOrientation:duration:force:] + 64
22 UIKit 0x3430acb4 __57-[UIWindow _updateToInterfaceOrientation:duration:force:]_block_invoke_0 + 100
23 UIKit 0x3419367e -[UIWindow _updateToInterfaceOrientation:duration:force:] + 214
24 UIKit 0x341933c2 -[UIWindow setAutorotates:forceUpdateInterfaceOrientation:] + 690
25 UIKit 0x34192d2a -[UIViewController _tryBecomeRootViewControllerInWindow:] + 150
26 UIKit 0x34189e86 -[UIWindow addRootViewControllerViewIfPossible] + 366
27 UIKit 0x341d4ef2 -[UIWindow setRootViewController:] + 658
28 kodinisRaktas 0x000a1bd4 0x0009f000 + 11220
29 kodinisRaktas 0x000a18f6 0x0009f000 + 10486
30 UIKit 0x3418aa9c -[UIApplication _handleDelegateCallbacksWithOptions:isSuspended:restoreState:] + 248
31 UIKit 0x3418a620 -[UIApplication _callInitializationDelegatesForURL:payload:suspended:] + 1164
32 UIKit 0x3418282e -[UIApplication _runWithURL:payload:launchOrientation:statusBarStyle:statusBarHidden:] + 694
33 UIKit 0x3412ad1a -[UIApplication handleEvent:withNewEvent:] + 1006
34 UIKit 0x3412a7a8 -[UIApplication sendEvent:] + 68
35 UIKit 0x3412a1ea _UIApplicationHandleEvent + 6194
36 GraphicsServices 0x35e425f2 _PurpleEventCallback + 586
37 GraphicsServices 0x35e42222 PurpleEventCallback + 30
38 CoreFoundation 0x322f03e2 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE1_PERFORM_FUNCTION__ + 30
39 CoreFoundation 0x322f0386 __CFRunLoopDoSource1 + 134
40 CoreFoundation 0x322ef20a __CFRunLoopRun + 1378
41 CoreFoundation 0x32262238 CFRunLoopRunSpecific + 352
42 CoreFoundation 0x322620c4 CFRunLoopRunInMode + 100
43 UIKit 0x34181468 -[UIApplication _run] + 664
44 UIKit 0x3417e2b4 UIApplicationMain + 1116
45 kodinisRaktas 0x000a0d96 0x0009f000 + 7574
46 kodinisRaktas 0x000a0d4c 0x0009f000 + 7500
我无法在我自己的设备上重现崩溃,所以这就是我确定崩溃源的全部内容。有什么想法吗?
【问题讨论】:
能否安装旧版本,运行,然后通过Xcode安装当前版本? 很遗憾,但没有。我没有存档以前的版本 【参考方案1】:您应该通过在 Xcode 中打开崩溃日志并单击重新符号化来符号化它。如果这不起作用,您可以这样做How to Manually Symbolicate ios Crash to View Crash Logs
【讨论】:
首先您必须打开管理器(窗口 -> 管理器),然后您必须转到设备选项卡,然后您最终可以将 .crash 文件拖放到“库”选项卡,在“设备日志”语音下 谢谢,找到它,现在得到了崩溃线!以上是关于应用程序更新后读取崩溃日志的主要内容,如果未能解决你的问题,请参考以下文章
Eclipse 在 opensuse 更新后崩溃并且没有错误日志