Xcode 5到Xcode 4项目运行 [英] Xcode 5 to Xcode 4 Project Run
问题描述
我有一个项目是我在iOS SDK 6中开始的。我使用iOS 7下载了Xcode 5 Beta并成功运行。
但是,要提交项目,我需要回到SDK 6和Xcode 4.当我这样做时,我得到了项目中每个XIB文件的以下消息:
如何修复此问题以便我可以编译和从SDK 6和Xcode 4运行?
实际上这有一个非常简单的答案。
在Xcode 5上打开Storyboard文件,然后:
- 打开文件检查器
- 在界面生成器文档部分,将打开更改为Xcode 4.6(如果是5.x)。
- 保存,关闭项目并使用旧的Xcode打开它。
现在应该可以使用了。
这与早期版本的方法相同,所以我认为NDA情况没问题(你可以在Xcode 4.6上做同样的事情来使用旧版本)。 / p>
I have a project that I started in iOS SDK 6. I downloaded Xcode 5 Beta with iOS 7 and ran it successfully.
However, to submit the project, I need to go back to SDK 6 and Xcode 4. When I do, I get following message for every XIB file I have in the project:
How do I fix this so I can compile and run from SDK 6 and Xcode 4?
Actually this has a very simple answer.
Open the Storyboard file on Xcode 5, And then:
- Open file inspector
- On Interface Builder Documents section change Open with to Xcode 4.6 (if it's 5.x).
- Save, Close the project and open that with old Xcode.
It should work now.
This is same method like on earlier releases so I assume that's ok for NDA case (you can do the same thing on Xcode 4.6 to work with older version).
这篇关于Xcode 5到Xcode 4项目运行的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!