简体   繁体   English

iOS4 SDK 目标到 iOS3 设备

[英]iOS4 SDK target to iOS3 device

In previous version of iOS SDK, if I install a newer version of SDK, I can't target a previous version.在以前版本的 iOS SDK 中,如果我安装更新版本的 SDK,我无法定位以前的版本。 For example, when I installed SDK 3, i can't target iOS 2 or before.例如,当我安装 SDK 3 时,我无法定位 iOS 2 或更早版本。

Now I want to install a new version (xcode_4.0.2_and_ios_sdk_4.3.dmg) to develop to iOS 3.2 and iOS 4.现在我想安装一个新版本(xcode_4.0.2_and_ios_sdk_4.3.dmg)来开发到iOS 3.2和iOS 4。

If I install this new version, can I target to previous iOS 3?如果我安装这个新版本,我可以定位到以前的 iOS 3 吗?

You can specify deployment target in your project's properties.您可以在项目的属性中指定部署目标。 For example if you choose iOS 3.0 as deployment target the app will run on iOS 3 even if it is built with SDK 4.0 (of course it's true only if you don't use 4.0 specific features).例如,如果您选择 iOS 3.0 作为部署目标,则应用程序将在 iOS 3 上运行,即使它是使用 SDK 4.0 构建的(当然,如果它是特定的功能)。

No. Install at Different location so that, if you want to develop applications supporting lower version you can use that older version SDK.否。安装在不同的位置,这样,如果您想开发支持较低版本的应用程序,您可以使用旧版本 SDK。 However you can change Base SDK version of older version developed apps and can run applications on Newer version Xcode SDK.但是,您可以更改旧版本开发应用程序的基本 SDK 版本,并可以在新版本 Xcode SDK 上运行应用程序。

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

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