使用xcode 3.2.3(以及随附的iOS 4)编译iOS 3.1.3 [英] Compiling for iOS 3.1.3, using xcode 3.2.3 (and iOS 4 that came with it)

查看:128
本文介绍了使用xcode 3.2.3(以及随附的iOS 4)编译iOS 3.1.3的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经下载了xcode 3.2.3和sdk 4的最终版本(之前从未安装过任何beta版本),现在我似乎找不到为3.1.3 iOS编译我的应用程序的方法。

I've downloaded the final version (and never installed any beta versions before) of xcode 3.2.3 with sdk 4, and now I can't seem to find a way to compile my app for a 3.1.3 iOS.

有谁知道我该怎么办?

推荐答案

As它是,你不能。他们可能是故意这样做是为了阻止为3.1.3编译的新应用程序,这会破坏多任务处理。

As it is, you can't. They probably did this on purpose to discourage new apps compiled for 3.1.3 which foils multitasking.

相反,你可以为iOS 4编译但是使你的部署目标为3.1.3。这并不需要任何更多的实际工作,只要您不使用任何非3.1.3方法/类等,并且应用程序可以在3.1.3设备上安装和运行。然后,您还可以使您的应用程序具有多任务处理功能,以便在运行iOS 4且能够进行多任务处理的设备上运行良好。

Instead you can compile for iOS 4 but make your deployment target 3.1.3. This doesn't really require any more real work, as long as you don't use any non-3.1.3 methods/classes etc. and the application can install and run on a 3.1.3 device. You can also then make your application multitasking aware so that it works nicely on a device that does run iOS 4 and is capable of multitasking.

只需注意:基本SDK可以在项目级别设置,但是您需要转到目标本身的构建设置以设置部署目标(该项设置在项目级别不可用)。

Just a note: the Base SDK may be set at the project level, but you will need to go to the build settings for the target itself to set the deployment target (that setting is not available at the project level).

这篇关于使用xcode 3.2.3(以及随附的iOS 4)编译iOS 3.1.3的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆