iphone:使用 iOS 5 和 Xcode 4.2 提交应用程序?

iphone:使用 iOS 5 和 Xcode 4.2 提交应用程序?

问题描述:

我有一个内置于 Xcode 4.2(开发者预览版)和 iOS 5 的应用程序,部署目标为 iOS 4.0.我没有使用任何 iOS 5.0 功能.我可以将此版本提交给 Apple 吗?或者这是一个问题,因为它是测试版?我应该回到 Xcode 4.02 并在 4.3 上构建它吗?

I've an app that is built in Xcode 4.2 (developer preview) and iOS 5, with deployment target iOS 4.0. I'm not using any of the iOS 5.0 features. Can I submit this build to Apple? Or is this a problem because it's beta? Should I go back to Xcode 4.02 and build it on 4.3?

您应该绝对不要安装测试版 SDK 作为您的主要 SDK 和 XCode 版本.始终将当前安装保持在/Developer(或您选择的任何地方)下,并将测试版安装在其他位置(例如/iOS5Beta).有了这个,当新的XCode和SDK的beta版本到来时,你可以卸载/iOS5Beta版本并安装新的(可能不必卸载,但只是一点).

You should absolutely never install beta builds SDKs as your primary SDK and version of XCode. Always keep the current install under /Developer (or wherever you choose) and install the beta in some other location (/iOS5Beta as an example). With this, when the new beta versions of XCode and the SDK arrive, you can uninstall the /iOS5Beta version and install the new one (may not have to uninstall, but just a point).

这允许您进行 beta 测试,然后在/Developer 安装下进行常规开发.

This allows you to beta test, then under the /Developer install do your regular development.

当 GM 出来时,你把它安装在/Developer 下然后去.

When the GM is out, you install that under /Developer and go.

从不向 Apple 提交带有 XCode 和 SDK 测试版的应用.

You never submit Apps to Apple with beta builds of XCode and the SDKs.