无法模拟发送给我的iOS崩溃报告

0 crash logging report ios ios-simulator

我将我的应用程序发送到App Store但由于一些崩溃而被拒绝.我正在尝试模拟,在我的设备上运行应用程序,但看不到任何崩溃日志.请帮助解释日志,并告诉我为什么我无法在我的设备上模拟它.对不起,我是iOS开发的新手.

这是报告.

Thread 4 Crashed:
0   WebCore                         0x3375a366 _ZL17_WebTryThreadLockb + 202
1   WebCore                         0x3375a28c WebThreadLock + 48
2   UIKit                           0x3294ac64 -[UITextRangeImpl isEmpty] + 4
3   UIKit                           0x3294ee66 -[UITextRange(UITextSelectionAdditions) _isCaret] + 14
4   UIKit                           0x328f2c2c -[UITextSelectionView setCaretBlinks:] + 132
5   UIKit                           0x32951a0a -[UIKeyboardImpl setCaretBlinks:] + 94
6   UIKit                           0x3288799a -[UIKeyboardImpl setDelegate:force:] + 242
7   UIKit                           0x32869f1c -[UIPeripheralHost(UIKitInternal) _reloadInputViewsForResponder:] + 608
8   UIKit                           0x328c2e68 -[UINavigationController navigationTransitionView:didStartTransition:] + 944
9   UIKit                           0x328c24c0 -[UINavigationTransitionView transition:fromView:toView:] + 660
10  UIKit                           0x328c2220 -[UINavigationTransitionView transition:toView:] + 20
11  UIKit                           0x328aa95c -[UINavigationController _startTransition:fromViewController:toViewController:] + 2368
12  UIKit                           0x328a9f4c -[UINavigationController _startDeferredTransitionIfNeeded] + 244
13  UIKit                           0x3289e66c -[UINavigationController pushViewController:transition:forceImmediate:] + 800
14  UIKit                           0x3289e342 -[UINavigationController pushViewController:animated:] + 30
15  Meetings                        0x00053558 -[LoginView loadMeetings] (LoginView.m:50)
16  Foundation                      0x32d46a8a -[NSThread main] + 66
17  Foundation                      0x32dda59a __NSThread__main__ + 1042
18  libsystem_c.dylib               0x32f17c16 _pthread_start + 314
19  libsystem_c.dylib               0x32f17ad0 thread_start + 0
Run Code Online (Sandbox Code Playgroud)

这是请求的代码

-(void) loadMeetings { 
  NSAutoreleasePool *pool = [[NSAutoreleasePool alloc] init]; 
  UITableViewController *myViewController = [[RootViewController alloc] initWithNibName:@"RootView" bundle:nil]; 
  myViewController.title = @"Meetings"; 
  myViewController.view.backgroundColor = [UIColor colorWithRed:.953 green:.965 blue:.886 alpha:1]; 
  [self.navigationController pushViewController:myViewController animated:YES]; 
  [spinner stopAnimating]; 
  [pool drain]; 
}
Run Code Online (Sandbox Code Playgroud)

Mar*_*ams 5

您正在从后台线程将新视图控制器推送到导航控制器堆栈.必须在主线程上执行对UIKit的所有调用.检查loadMeetings方法LoginView并找出它首先在后台线程上发送的原因.