Xcode 8故事板错误 [英] Xcode 8 Storyboard error

查看:98
本文介绍了Xcode 8故事板错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在开发一个应用程序.之前我曾经使用Xcode 7.1,当时一切正常.最近,我还安装了Xcode 8.0,并将这两个安装程序都安装在两个不同的目录Xcode_7,Xcode_8中,并且我也重命名了安装文件.一切正常,但最近在使用Xcode 8时出现以下错误.

I am working on building an app. Earlier I have used Xcode 7.1 at that time everything was working fine. Recently I have installed Xcode 8.0 as well and I have both the setups installed into in two different directories Xcode_7, Xcode_8 and I renamed the setup files as well. Everything was working fine but lately I am getting the following error while working with Xcode 8.

发生内部错误.编辑功能可能受到限制"

和情节提要视图对象全部变空,如图像中所示,但是我可以单击特定视图,仍然可以通过属性检查器查看其属性定义,但情节提要中仍然没有显示任何内容,我仍然可以构建项目成功,但在模拟器中加载时显示

and the storyboard view objects are all gone empty like shown in the image but I am able to click on a specific view and still can see their properties defined through attributes inspector but nothing shows up in storyboard still I am able to build the project successfully but while loading it in simulator it says

无法启动iOS模拟器

我遵循了一些提示,例如重新安装Xcode,删除从首选项派生的数据.到目前为止,没有任何帮助.请让我知道是否有人解决了这个问题.

I have followed few tips like reinstalling the Xcode , trashing the derived data from preferences. Nothing helped so far. Please let me know if anyone resolved this issue.

故事板文件ViewObject全部变空

更新

我已经在苹果论坛的帮助下(访问)找到了此修复程序! 在运行于El Capitan的iMac上禁用SIP(系统完整性保护)解决了该问题,但是不确定禁用它会引发任何进一步的错误. :)

I have found the fix with the help of apple forums here Visit!. Disabling the SIP (System Integrity Protection) in my iMac which runs on El Capitan solved the issue however not sure disabling it will raise any further errors. :)

推荐答案

尝试一下

转到Xcode->首选项->位置->派生数据->单击 在Finder中打开箭头->并删除该文件夹的内容.

Go to Xcode -> Preferences -> Locations -> Derived Data -> click the arrow to open in Finder -> And delete the content of that folder.

希望有帮助!

这篇关于Xcode 8故事板错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆