gpt4 book ai didi

ipad - 了解(符号化)iOS崩溃日志

转载 作者:行者123 更新时间:2023-12-03 17:43:22 25 4
gpt4 key购买 nike

这是我先前尝试解决影响我的应用程序几个实例的烦人问题的延续。
该问题仅发生在少数iPad上,但是如您所知,这些都是花一些时间来留下美好而深思熟虑的评论:-/

无论如何,我终于正确地将崩溃日志符号化了,它指向:

NonogramsAppDelegate.m:105

它指向的行是函数的最后一行:
return YES;

我不确定该怎么做,再次,我和曾经尝试过我的应用程序,上瘾的可怜的灵魂,现在会在启动时崩溃...

我在上一篇文章的此处粘贴了整个 didFinishLaunchingWithOptions 函数:
iPad app works on most devices, gets EXC_CRASH (SIGABRT) on some

以下是更多日志。

谢谢!!
8   libstdc++.6.dylib              0x00042f12 __cxa_throw + 78
9 libobjc.A.dylib 0x000046a4 objc_exception_throw + 64
10 CoreFoundation 0x00094174 -[NSObject doesNotRecognizeSelector:] + 108
11 CoreFoundation 0x00093afa ___forwarding___ + 482
12 CoreFoundation 0x000306c8 _CF_forwarding_prep_0 + 40
13 iPadNonograms 0x000034f8 -[NonogramsAppDelegate application:didFinishLaunchingWithOptions:] (NonogramsAppDelegate.m:105)
14 UIKit 0x00003e58 -[UIApplication _performInitializationWithURL:payload:] + 336
15 UIKit 0x00003b22 -[UIApplication _runWithURL:payload:launchOrientation:] + 394
16 UIKit 0x0004f8c4 -[UIApplication handleEvent:withNewEvent:] + 1336
17 UIKit 0x0004f242 -[UIApplication sendEvent:] + 38

最佳答案

我不认为这是问题所在,但这是:

NSNumber *pref_gameInProgress_temp = [NSNumber numberWithInt:0]; 
NSNumber *pref_soundOn_temp = [NSNumber numberWithInt:1];
NSNumber *pref_buttonsOnLeft_temp = [NSNumber numberWithInt:0];
NSNumber *pref_gameNumber_temp = [NSNumber numberWithInt:self.pref_currentPuzzleId];
NSNumber *pref_gameSize_temp = [NSNumber numberWithInt:self.pref_gameSize];
NSNumber *pref_gameTimer_temp = [NSNumber numberWithInt:self.pref_gameTimerValue];

// ...

[pref_gameInProgress_temp release];
[pref_gameSize_temp release];
[pref_soundOn_temp release];
[pref_gameTimer_temp release];
[pref_gameNumber_temp release];
[pref_buttonsOnLeft_temp release];

有点奇怪您要发布一系列自动发布的实例。这些发行看起来有些不必要,即使有些危险。

关于ipad - 了解(符号化)iOS崩溃日志,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/3623029/

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