iPhone模拟器在启动时崩溃

时间:2012-01-29 17:23:02

标签: iphone xcode

好的,所以我的Xcode和iPhone模拟器最近变得非常搞砸了,我记得在这个开始发生之前做的就是我关闭了我的mac。所以,我的第一个问题是,每次我打开iPhone模拟器,它说模拟的应用程序无法运行,并要求切换sdk,我点击5.0,它继续说。我已经尝试过3次重新安装Xcode。其次,每当我打开MainStoryboard.iphone / ipad文件时,Xcode会冻结,并让我选择崩溃或继续处于不良状态或类似的状态。接下来,我正在尝试创建的应用程序曾经工作过,但突然之间,它会在启动时因此错误消息而崩溃:

dyld: Symbol not found: ___CFObjCIsCollectable
Referenced from: /System/Library/Frameworks/Security.framework/Versions/A/Security
Expected in:/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator5.0.sdk/Sym/Library/Frameworks/CoreFoundation.framework/CoreFoundation
in /System/Library/Frameworks/Security.framework/Versions/A/Security
2012-01-03 21:02:45.802 ibtoold[1399:d03] [MT] DVTAssertions: ASSERTION FAILURE in /SourceCache/IDEInterfaceBuilderCocoaTouch/IDEInterfaceBuilderCocoaTouch-933/IBPlugin/Utilities/IBObjectMarshalling.m:179

Details:  Interface Builder encountered an error communicating with the iOS Simulator. "Interface Builder Cocoa Touch Tool" (1402) failed to launch and exited with status (null), signal 5. Please check Console.app for crash reports for "Interface Builder Cocoa Touch Tool" for further information.
Function: NSDistantObject<IBCocoaTouchToolProtocol> *IBAttachToCocoaTouchTool(IBCocoaTouchTargetRuntime *)
Thread:   <NSThread: 0x40010a220>{name = (null), num = 1}

这是我在开始运行应用程序时遇到的错误,相反,它只是在构建应用程序时给了我两个错误,这就是那些说法:

Command /Developer/usr/bin/ibtool failed with exit code 255
Verify exit code of build task 'CompileStoryboard MainStoryboard_iPhone.storyboard'
Build task failed without generating error messages.

这些必须在某种程度上相关,它与故事板设置或iOS模拟器有关,这对我的应用程序的制作来说是一个巨大的挫折,如果有人有这个问题,请帮助

编辑:好的一直在试图看看是否在其他项目中发生同样的事情,它似乎只是那个错误的应用程序,但IOS模拟器不适用于任何事情。另外,我尝试在Xcode上做的每一件事现在都会引发崩溃,甚至试图打开一个项目并在新窗口中查看错误。

1 个答案:

答案 0 :(得分:0)

更新到更新版本的Xcode,它们运行更顺畅,并且减少了很多错误。

相关问题