简体   繁体   English

安装升级的XCode版本后出现问题

[英]Issues after installing upgraded XCode version

I installed XCode DP 4.5 recently - just to try out iOS 6. I opened a project using it. 我最近安装了XCode DP 4.5 - 只是为了试用iOS 6.我用它打开了一个项目。

When I reopened using XCode 4.2.1 again, I started having storyboard data loss issue mentioned here . 当我再次使用XCode 4.2.1重新打开时,我开始在这里提到故事板数据丢失问题

I don't get this issue in 4.5 DP, but then I don't want to continue with XCode 45 DP. 我在4.5 DP中没有遇到这个问题,但后来我不想继续使用XCode 45 DP。 I am not sure if its valid to build my app with it. 我不确定它是否有效用它构建我的应用程序。 Also, it shows me "iPhoneOS 5.0 sdk not found warning" which is the base sdk I have set within my project. 此外,它向我显示“iPhoneOS 5.0 sdk not found warning”,这是我在项目中设置的基本sdk。

What should I do to get rid of this issue? 我该怎么做才能摆脱这个问题? Is it ok to continue using 4.5 DP? 可以继续使用4.5 DP吗? If not, how can I safely go back to 4.2.1? 如果没有,我怎样才能安全地回到4.2.1? Is there any workaround in project to make, to regain my storyboard? 项目中是否有任何解决方法可以重新获得我的故事板? I also have storyboard backed up, but as soon as I import it into my project (within 4.2.1) - it complains it cannot open it. 我也备份了故事板,但是一旦我将它导入我的项目(在4.2.1内) - 它就会抱怨它无法打开它。 So I suspect it's due to a setting shared both by 45 DP and 4.2.1. 所以我怀疑这是由于45 DP和4.2.1共享的设置。

Please help... 请帮忙...

Download the Golden Master for iOS 6 and use that for your development. 下载适用于iOS 6的Golden Master并将其用于您的开发。 As the GM version App may be compiled for distribution with it and Xcode 4.2.1 will become obsolete. 由于GM版本App可能会被编译以便与它一起分发,Xcode 4.2.1将变得过时。

By default storyboards are set to be compatible with the current release of Xcode, and one previous release. 默认情况下,故事板设置为与当前版本的Xcode和先前版本兼容。 You can choose to make them compatible with even older releases by modifying the development version pop up in the storyboard's file inspector. 您可以通过修改storyboard的文件检查器中弹出的开发版本,选择使它们与更旧的版本兼容。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM