无法打开此文档“XXXXX.storyboard”。请使用较新版本的 Xcode
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/12961309/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me):
StackOverFlow
This document "XXXXX.storyboard" could not be opened. Please use a newer version of Xcode
提问by danfelabs
Storyboards created with XCode 4.5.1
could not open on XCode 4.2
with the following error message.
创建的故事板XCode 4.5.1
无法打开XCode 4.2
并显示以下错误消息。
This document "XXXXX.storyboard" could not be opened. Please use a newer version of Xcode. Consider changing the document's Development Target to preserve compatibility.
This document "XXXXX.storyboard" could not be opened. Please use a newer version of Xcode. Consider changing the document's Development Target to preserve compatibility.
Changed the Deployment target to iOS 5.0
under Document Versioning
(as suggested by google results) but without any success.
将部署目标更改为iOS 5.0
低于Document Versioning
(根据谷歌结果的建议)但没有任何成功。
Any fix for this ?
有什么解决办法吗?
回答by Popeye
I have given +1 to @MarkSzymczyk
as it pointed me in the right direction, but as it is a little bit old compared to the new xcode 5
I thought I would give an up-to-date answer.
我给了 +1,@MarkSzymczyk
因为它为我指明了正确的方向,但由于它与新的相比有点旧,xcode 5
我想我会给出最新的答案。
I came across this issue where I was getting
我遇到了这个问题
This document "XXXXX.storyboard" could not be opened. Please use a newer version of Xcode. Consider changing the document's Development Target to preserve compatibility.
无法打开此文档“XXXXX.storyboard”。请使用较新版本的 Xcode。考虑更改文档的开发目标以保持兼容性。
when I had looked at my project in xcode 5
and went back to xcode 4.6
. The way to solve this is slightly different from the old xcode
. I had to load the project back up in xcode 5
and navigate to the storyboard in the interface builder. In there there is now an "Interface Builder Document" section instead of the "Document Versioning" section. Under there, there is an option to change what version of xcode
you would like to open in. All you need to do is change back to xcode 4.x
.
当我查看我的项目xcode 5
并回到xcode 4.6
. 解决这个问题的方法与旧的略有不同xcode
。我必须重新加载项目xcode 5
并导航到界面构建器中的故事板。现在有一个“Interface Builder Document”部分而不是“Document Versioning”部分。在那里,有一个选项可以更改xcode
您想要打开的版本。您需要做的就是改回xcode 4.x
.
I don't want to take away from the other answer as it is correct still I just want to expand on that answer.
我不想从另一个答案中删除,因为它是正确的,但我只想扩展该答案。
回答by Mark Szymczyk
Set the storyboard's development target to Xcode 4.2. The menu to set the development target is in the Document Versioning section.
将故事板的开发目标设置为 Xcode 4.2。设置开发目标的菜单位于文档版本控制部分。