iPhone App baseSDK和iOS部署目标 [英] iPhone App baseSDK and iOS deployment target

查看:278
本文介绍了iPhone App baseSDK和iOS部署目标的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在将我的应用部署到应用商店。我不确定要为baseSDK和iOS部署目标设置什么。我安装了最新的iOS 4.1。如何确保它在所有设备上运行。我的应用程序基于4.0.1(我认为)。

I am in the process of deploying my app to the app store. I am not sure what to set for baseSDK and iOS deployment target. I have the latest iOS 4.1 installed. How can I make sure that it runs on all the devices. My application was build on 4.0.1 (I think).

我的iPod有iOS 4.1(最新),我的iPhone有4.0。要使我的应用程序在iPhone上运行,我必须将baseSDK和iOS部署目标降低到3.2。

My iPod has iOS 4.1 (latest) and my iPhone has 4.0. To make my application work on the iPhone I have to lower the baseSDK and iOS deployment target to 3.2.

推荐答案

您通常希望针对最新的SDK进行构建,但最早可以将部署目标设置为。因此,要在尽可能多的设备上运行,请使用SDK 4.1,但将部署目标设置为3.0或3.1.3。如果你想支持它们,我强烈建议你拿一个较旧的iPod touch并在旧设备上进行测试。很容易错过只支持4.0的API调用。

You generally want to build against the latest SDK, but set the deployment target to the earliest you can. So, to run on as many devices as possible, use SDK 4.1, but set your deployment target to 3.0 or 3.1.3. I strongly suggest getting hold of an older iPod touch and testing on older devices if you want to support them. Its easy to miss an API call that's only supported on, say, 4.0.

这篇关于iPhone App baseSDK和iOS部署目标的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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