iPhone App在iPad-Simulator 3.2上运行,但在任何其他模拟器上都没有

时间:2011-01-31 10:46:19

标签: iphone simulator sigabrt

我正在开发一款带有最新SDK的iPad应用程序。

如果我使用iPad Simulator 3.2运行它,它可以正常工作。但如果我尝试使用任何其他模拟器(iPhone模拟器4.0,iPhone模拟器4.1,iPhone模拟器4.2,iPad模拟器4.2)运行它

应用程序立即崩溃了这个callstack:

#0  0x9113fef6 in __kill
#1  0x9113fee8 in kill$UNIX2003
#2  0x911d262d in raise
#3  0x911e86e4 in abort
#4  0x935edfda in __gnu_cxx::__verbose_terminate_handler
#5  0x014784e7 in _objc_terminate
#6  0x935ec17a in __cxxabiv1::__terminate
#7  0x935ec1ba in std::terminate
#8  0x935ec2b8 in __cxa_throw
#9  0x01478635 in objc_exception_throw
#10 0x012dc628 in +[NSException raise:format:arguments:]
#11 0x012dc59a in +[NSException raise:format:]
#12 0x0088a6c4 in -[UINib instantiateWithOwner:options:]
#13 0x0088c081 in -[NSBundle(UINSBundleAdditions) loadNibNamed:owner:options:]
#14 0x00696943 in -[UIApplication _loadMainNibFile]
#15 0x006974ca in -[UIApplication _runWithURL:payload:launchOrientation:statusBarStyle:statusBarHidden:]
#16 0x006a1db2 in -[UIApplication handleEvent:withNewEvent:]
#17 0x0069a202 in -[UIApplication sendEvent:]
#18 0x0069f732 in _UIApplicationHandleEvent
#19 0x011f3a36 in PurpleEventCallback
#20 0x01305064 in __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE1_PERFORM_FUNCTION__
#21 0x012656f7 in __CFRunLoopDoSource1
#22 0x01262983 in __CFRunLoopRun
#23 0x01262240 in CFRunLoopRunSpecific
#24 0x01262161 in CFRunLoopRunInMode
#25 0x00696fa8 in -[UIApplication _run]
#26 0x006a342e in UIApplicationMain
#27 0x0000f85a in main at main.m:69

任何想法可能导致什么?

谢谢!

1 个答案:

答案 0 :(得分:0)

堆栈跟踪指示应用程序在尝试加载主nib文件时引发异常。检查完整的异常消息,以获取有关该nib导致问题的线索的线索。仔细检查笔尖是否存在任何可能的问题。