iOS 4 构建 SDK

发布于 2024-09-06 16:14:08 字数 357 浏览 3 评论 0原文

我昨天安装了 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”。

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

不幸的是,我没有任何未升级的设备来自行测试!

谢谢,

约翰

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.

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!

Thanks,

John

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

献世佛 2024-09-13 16:14:08

要使用新的 iOS 4 SDK 来定位较旧的 iPhone 操作系统,请选择您的 XCode 项目 ->获取信息,然后选择“iPhone 设备 4.0”作为基础 SDK,然后从 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.

丘比特射中我 2024-09-13 16:14:08

您需要将 XCode beta 安装到备用文件夹 /DeveloperBeta(例如),并为较旧的 SDK 版本使用稳定的 xcode。

实际上你仍然可以这样做。

You needed to install XCode beta to an alternative folder /DeveloperBeta (for example) and use the stable xcode for older SDK builds.

You can still do that actually.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文