Xcode 10-Interface Builder无法打开文档Main.storyboard”,因为它不存在

时间:2018-12-22 01:52:34

标签: xcode import storyboard main builder

我刚刚导入了我在2018年5月使用旧版本Xcode完成的一个旧项目,似乎无法解决此问题。附件是我遇到的问题的屏幕截图。我到处搜索,尝试了很多事情,但似乎没有任何效果。 ps。我刚刚将Swift升级到4.2。

enter image description here

1 个答案:

答案 0 :(得分:0)

我只是想通了。

返回存储在云中的某些工作之后,我遇到了相同的Main.storyboard和LaunchScreen.storyboard错误。

由于某些原因,从云中导入文件/文件夹时,会将.xml后缀添加到Main.storyboard和LaunchScreen.storyboard文件中。

The following image shows the files stored on Google Drive

And then after download

只需删除.xml后缀并清理。