Xcode 6 Bug:Interface Builder文件中的未知类

蓝咒 提交于 2020-08-17 03:35:18

问题:

I upgraded to Xcode 6 beta 4 and now my App continuously crashes with the message 我升级到Xcode 6 beta 4,现在我的应用程序不断崩溃

Unknown class X in Interface Builder file. Interface Builder文件中的未知类X.

It crashes because supposedly Xcode can't find my custom classes that I have linked in my Storyboard but it shows that they are linked correctly in the Xcode interface. 它崩溃了,因为据说Xcode找不到我在Storyboard中链接的自定义类,但它显示它们在Xcode界面中正确链接。

I'm positive everything is linked correctly. 我很肯定一切都是正确的。 My only other option may be to delete the entire storyboard file and start from scratch because it might be corrupted somehow. 我唯一的另一个选择可能是删除整个故事板文件并从头开始,因为它可能会以某种方式损坏。

Edit: I would also like to add that I tried cleaning, reseting simulator, messing with build phases etc. None of that works. 编辑:我还想补充一点,我尝试清理,重置模拟器,弄乱构建阶段等。这些都不起作用。


解决方案:

参考一: https://stackoom.com/question/1ga7a/Xcode-Bug-Interface-Builder文件中的未知类
参考二: https://oldbug.net/q/1ga7a/Xcode-6-Bug-Unknown-class-in-Interface-Builder-file
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!