我安装了Xcode 6.3,其中包括对Swift 1.2的支持.它出现了大量的错误信息,主要是铸造问题.
我导航到了故事板,.swift如果没有整个事情崩溃,我就无法回到任何其他故事板.我强制退出,重新启动,甚至重新安装,我仍然无法离开Main.storyboard文件.
我已经尝试了这里描述的建议,打开故事板作为代码,进行一些更改,还原这些更改,保存并再试一次,但仍然没有运气.
我的代码中有什么东西会破坏Xcode吗?还有其他人遇到过这种情况吗?我使用相同的代码库成功使用了Xcode 6.3 beta.
更新: 现已在2015年4月21日发布的Xcode 6.3.1中修复.
我正在运行最新版本的xcode(4.2.1).我已经注册了ios开发者计划.
当我为iPhone或iPad创建新的iOS应用程序时,无论是否使用故事板似乎并不重要,当我尝试打开.xib或.storyboard文件时,xcode会崩溃.
这是我在故事板崩溃之前单击故事板文件时提供的错误.
ASSERTION FAILURE in /SourceCache/IDEInterfaceBuilderCocoaTouch/IDEInterfaceBuilderCocoaTouch-933/IB Plugin/Utilities/IBObjectMarshalling.m:179
Details: Interface Builder encountered an error communicating with the iOS Simulator. "Interface Builder Cocoa Touch Tool" (54332) failed to launch and exited with status (null), signal 10. Please check Console.app for crash reports for "Interface Builder Cocoa Touch Tool" for further information.
Function: NSDistantObject<IBCocoaTouchToolProtocol> *IBAttachToCocoaTouchTool(IBCocoaTouchTargetRuntime *)
Thread: <NSThread: 0x40010a260>{name = (null), num = 1}
Run Code Online (Sandbox Code Playgroud)
与iOS模拟器有什么关系?当我尝试打开.xib文件时,会出现完全相同的消息.
当我尝试运行或测试项目时,我在尝试编译storyboard或xib文件时收到错误.例如
CompileXIB EmptyViewTest/en.lproj/com_markstewart_comViewController.xib
cd /Users/mark/Sites/_iOS/EmptyViewTest/EmptyViewTest
setenv IBC_MINIMUM_COMPATIBILITY_VERSION 5.0
setenv PATH "/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin:/Developer/usr /bin:/usr/bin:/bin:/usr/sbin:/sbin"
setenv XCODE_DEVELOPER_USR_PATH /Developer/usr/bin/..
/Developer/usr/bin/ibtool --errors …Run Code Online (Sandbox Code Playgroud)