iOS 4 Build SDK [英] iOS 4 Build SDK

查看:94
本文介绍了iOS 4 Build SDK的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我昨天安装了iOS 4 SDK。我以前安装了3.1.2,3.1.3和3.2 SDK。自从安装iOS 4 SDK以来,我在Xcode中只提供了3.2和4.0。当我加载一个针对旧版本(例如3.1.2)的Xcode项目时,它会在工具栏中显示Base SDK Missing。

I installed the iOS 4 SDK yesterday. I previously had the 3.1.2, 3.1.3 and 3.2 SDKs installed. Since installing the iOS 4 SDK, I only have 3.2 and 4.0 available in Xcode. When I load an Xcode project that was targeting an older version (say 3.1.2), it says "Base SDK Missing" in the toolbar.

我已经能够将项目重置为目标iOS 4 - 并且已成功构建。但是,我需要为可能尚未在其设备上安装iOS 4的用户进行一些临时构建。如果我给他们一个为iOS 4完成的构建(不使用任何iOS 4功能 - 它与我用3.1.2构建的代码相同),这会在他们的设备上执行吗?

I've been able to reset the project to target iOS 4 instead - and have successfully built. However, I need to do some ad hoc builds for users who may not have iOS 4 installed on their devices yet. If I give them a build that was done for iOS 4 (not using any iOS 4 features - it's the same code I used to build with 3.1.2), will this execute on their device ok?

很遗憾,我没有任何未升级的设备可以自行测试!

Unfortunately I don't have any non-upgraded devices to test this on myself!

谢谢,

John

推荐答案

要使用新的iOS 4 SDK定位旧的iPhone OS,请选择您的XCode项目 - >获取信息,然后选择iPhone Device 4.0作为Base SDK,然后从您的ad hoc应用程序中选择iPhone OS部署目标中最低的iPhone OS版本。

To target older iPhone OS's with the new iOS 4 SDK, Select your XCode project -> Get Info, and then select "iPhone Device 4.0" as the Base SDK, and then select the lowest iPhone OS version from iPhone OS Deployment Target that you need to support with your ad hoc app.

这篇关于iOS 4 Build SDK的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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