#5 0x0298261c in _objc_terminate
#6 0x9532515a in __cxxabiv1::__terminate
#7 0x9532519a in std::terminate
#8 0x95325298 in __cxa_throw
#9 0x029823d8 in objc_exception_throw
#10 0x028677e1 in -[NSException raise]
#11 0x0005e0e0 in _NSSetUsingKeyValueSetter
#12 0x0005df1e in -[NSObject(NSKeyValueCoding) setValue:forKey:]
#13 0x0031e1e1 in -[UIView(CALayerDelegate) setValue:forKey:]
#14 0x004fc09f in -[UIRuntimeOutletConnection connect]
#15 0x027eac75 in -[NSArray makeObjectsPerformSelector:]
#16 0x004faae4 in -[UINib instantiateWithOptions:owner:loadingResourcesFromBundle:]
#17 0x004fcad9 in -[NSBundle(NSBundleAdditions) loadNibNamed:owner:options:]
#18 0x002f3272 in -[UIApplication _loadMainNibFile]
#19 0x002f4754 in -[UIApplication _runWithURL:payload:launchOrientation:]
#20 0x002fad3e in -[UIApplication handleEvent:withNewEvent:]
#21 0x002f64f7 in -[UIApplication sendEvent:]
#22 0x002fe1d8 in _UIApplicationHandleEvent
#23 0x030fb17c in PurpleEventCallback
#24 0x027b789c in CFRunLoopRunSpecific
#25 0x027b68a8 in CFRunLoopRunInMode
#26 0x002f4221 in -[UIApplication _run]
#27 0x002fc372 in UIApplicationMain
在應用程序中,主窗口是一個導航控制器,它可以在iPod/iPhone上正常工作。它甚至活在iTunes商店中。但是,當我將該應用程序作爲iPad模擬器啓動時,甚至在它啓動視圖之前,它會與SIGABRT一起崩潰。應用程序在iPhone/iPod上正常工作,但在iPad上(甚至模擬器)崩潰
這似乎是我的xib文件的問題,我驗證了參數但找不到原因。
SDK:4.1 iPad的模擬器:3.2
除了堆棧跟蹤之外,您是否還有關於拋出異常的任何信息?如果Xcode的控制檯沒有輸出,你可以嘗試在NSException的`-raise`方法中設置一個斷點,然後在控制檯中用`po self`打印一些信息。 – 2011-01-22 15:14:07