0

当我使用 iOS 7 编译时,我当前的主应用程序在 iOS 6 设备上随机崩溃。我认为这是系统深度,不知道如何修复这个讨厌的小错误。在我的应用程序中,有很多 iOS 6 用户遇到了这个崩溃,这让我发疯了。

Thread : Fatal Exception: NSGenericException
0  CoreFoundation                 0x32b902a3 __exceptionPreprocess + 162
1  libobjc.A.dylib                0x3a8b897f objc_exception_throw + 30
2  CoreFoundation                 0x32b8fd85 -[NSException name]
3  UIKit                          0x34d22f75 __54+[_UIAppearance _recordersExcludingSource:withWindow:]_block_invoke_0 + 332
4  CoreFoundation                 0x32b8d62f __NSDictionaryEnumerate + 714
5  UIKit                          0x34d22e1d +[_UIAppearance _recordersExcludingSource:withWindow:] + 136
6  UIKit                          0x34e013a5 UIViewServiceCurrentAppearanceSerializedRepresentations + 60
7  UIKit                          0x34d8f7c7 -[_UIRemoteViewControllerConnectionRequest _sendServiceViewControllerRequest] + 206
8  UIKit                          0x34d8f65d __block_global_5 + 264
9  libdispatch.dylib              0x3acd39f7 _dispatch_barrier_sync_f_invoke + 30
10 UIKit                          0x34d8f551 __76-[_UIRemoteViewControllerConnectionRequest _connectToViewControllerOperator]_block_invoke_0 + 92
11 UIKit                          0x34d98bc5 __block_global_0 + 32
12 libdispatch.dylib              0x3acd53f7 dispatch_once_f$VARIANT$mp + 42
13 UIKit                          0x34d98ba1 __73-[_UIViewServiceSessionEndpoint connectToDeputyOfType:connectionHandler:]_block_invoke_0 + 88
14 libdispatch.dylib              0x3acd011f _dispatch_call_block_and_release + 10
15 libdispatch.dylib              0x3acd3ecf _dispatch_queue_drain$VARIANT$mp + 142
16 libdispatch.dylib              0x3acd3dc1 _dispatch_queue_invoke$VARIANT$mp + 40
17 libdispatch.dylib              0x3acd491d _dispatch_root_queue_drain + 184
18 libdispatch.dylib              0x3acd4ac1 _dispatch_worker_thread2 + 84
19 libsystem_c.dylib              0x3ad04a11 _pthread_wqthread + 360
20 libsystem_c.dylib              0x3ad048a4 start_wqthread + 8
4

2 回答 2

0

添加一个异常断点,您将获得有关崩溃的更多信息。要添加异常断点,请查看此https://developer.apple.com/library/ios/recipes/xcode_help-breakpoint_navigator/articles/adding_an_exception_breakpoint.html

于 2013-12-09T09:20:42.770 回答
0

在每一行代码中添加断点以查找错误,或者这可能会帮助您阅读崩溃报告。http://www.raywenderlich.com/23704/demystifying-ios-application-crash-logs

于 2013-12-09T10:01:04.590 回答