gpt4 book ai didi

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

转载 作者:行者123 更新时间:2023-11-28 18:43:11 24 4
gpt4 key购买 nike

我将我的应用程序发送到 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

这是请求的代码

-(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];
}

最佳答案

您正在将一个新的 View Controller 从后台线程推送到导航 Controller 堆栈。所有对 UIKit 的调用都必须在主线程上执行。检查 LoginView 上的 loadMeetings 方法,找出它首先在后台线程上发送的原因。

关于ios - 无法模拟发送给我的 iOS 崩溃报告,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/8827134/

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