iPhone 应用程序在 iPad-Simulator 3.2 上运行,但不能在任何其他模拟器上运行

发布于 2024-10-14 20:14:07 字数 1529 浏览 7 评论 0原文

我正在使用最新的 SDK 开发 iPad 应用程序。

如果我用 iPad Simulator 3.2 运行它,它工作得很好。但如果我尝试使用任何其他模拟器(iPhone Simulator 4.0、iPhone Simulator 4.1、iPhone Simulator 4.2、iPad Simulator 4.2)运行它,

应用程序会立即崩溃并显示此调用堆栈:

#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

知道什么可能导致此情况吗?

谢谢!

I'm developing an iPad app with the latest SDK.

if I run it with iPad Simulator 3.2, it works fine. but if I try to run it with any of the other simulators (iPhone Simulator 4.0, iPhone Simulator 4.1, iPhone Simulator 4.2, iPad Simulator 4.2)

the app crashes immediately with this 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

any idea what could cause this?

Thanks!

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

扎心 2024-10-21 20:14:07

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

The stack trace indicates that the app raises an excepting while trying to load the main nib file. Check the full exception message for clues as to what in that nib is causing the problem. Double check the nib for any possible problems.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文