在我升级到iOS 7.1版后,我的iOS应用程序仅在iPad 2上崩溃,在所有其他设备上运行正常

时间:2014-04-02 12:25:18

标签: delegates ios7.1 ipad-2 nsexception

我有一个适用于iPad和iPad的iOS应用程序苹果手机。 到目前为止,我的应用在所有设备上运行良好 现在(在我升级到iOS版本7.1之后)它仅在ipad2上崩溃。 在所有其他设备上它没有问题。

在应用程序启动时(以及调用viewDidLoad之前)。 我有这个错误:

(appDelegate Log)close didFinishLaunchingWithOptions 

2014-04-02 20:37:14.677 xxx[6436:60b] *** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '*** -[__NSArrayM insertObject:atIndex:]: object cannot be nil'

*** First throw call stack:

(0x2e438fd3 0x38f1bccf 0x2e372f9d 0x30d7bd89 0x30f229ff 0x30ce1589 0x30c5930d 0x30c59289 0x30c5fed9 0x30c5d847 0x30cc735d 0x30cc3fcd 0x30cbe58b 0x30c5a709 0x30c59871 0x30cbdcc9 0x33267aed 0x332676d7 0x2e403ab7 0x2e403a53 0x2e402227 0x2e36cf4f 0x2e36cd33 0x30cbcef1 0x30cb816d 0x441a9 0x44130)

libc++abi.dylib: terminating with uncaught exception of type NSException

我无法理解为什么。 提前谢谢。

-------- EDITED --------

我已经解决了从主视图中删除未使用的按钮:

/* @synthesize myButton;*/

- (void)viewDidUnload {
   /* [self setMyButton:nil]; */
}

0 个答案:

没有答案