Interface Builder 无法打开文档“MainStoryboard_iPhone.storyboard";因为它不存在 [英] Interface Builder could not open the document "MainStoryboard_iPhone.storyboard" because it does not exist
问题描述
在一个可怕的错误之后,我删除了我项目中的大部分文件,我成功地设法将它们全部恢复,但我现在遇到了很多错误,例如Interface Builder 无法打开文档MainStoryboard_iPhone.storyboard",因为它不存在."是其中之一,我已经检查了 finder 中的文件,并在那里检查了文件,当我在项目导航器中按下文件时,我可以看到我创建的故事板,但是当我运行该项目时,我不断收到该错误...
After an awfull mistake, I deleted most of the files in my project i succesfully managed to get them all back but I have encounterd ALOT of errors now, e.g. "Interface Builder could not open the document "MainStoryboard_iPhone.storyboard" because it does not exist." is one of them, I have checked the file in finder and its there, when I press the file in project navigator I can see the storyboard I created but when I run the project I keep get that error...
我的项目导航器如下所示:http://screencast.com/t/dNVioFQg9我的 info.plist 由于某种原因不起作用..:http://screencast.com/t/JyqV32Ugt一>这些是我的错误:http://screencast.com/t/GJHfGGwQgn0Y
My project navigator looks like this: http://screencast.com/t/dNVioFQg9 And my info.plist doesnt work for some reason..: http://screencast.com/t/JyqV32Ugt and these are my errors: http://screencast.com/t/GJHfGGwQgn0Y
我也遵循了此线程中的解决方案,但没有任何帮助...故事板.故事板"无法打开和Interface Builder 无法打开文档".故事板"因为它不存在
I also followed the solutions in this thread but nothing helped..."Storyboard.storyboard" could not be opened and Interface Builder could not open the document ".storyboard" because it does not exist
请有人帮助我!
推荐答案
我是如何解决同样的问题的:
How i solved this very same issue:
- 转到 ~/Library/Developer/Xcode/DerivedData/
- 删除名为(yourApp's Name"-一些 xcode 生成的字符串)的文件夹
- 重新构建.
希望对大家有所帮助.
这篇关于Interface Builder 无法打开文档“MainStoryboard_iPhone.storyboard";因为它不存在的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!