一台 Mac 上的 iOS 4.0 和 3.0

发布于 2024-09-13 01:46:58 字数 423 浏览 3 评论 0原文

我刚刚将我的应用程序提交到应用程序商店,并收到许多评论称该应用程序在旧款 iPhone 上启动时崩溃。部署目标设置为 3.1.3,基础 sdk 设置为 4.0。我以为我没有使用 4.0 中的任何 api,所以唯一的问题可能是 Three20 库。

现在我的电脑上安装了两个 xcode。经过一些更改后,我的项目可以在最新的 (3.2.3) 和 3.2.1 中构建,基础 sdk 设置为 3.1.3,部署目标设置为 3.0。我的应用程序可以在 Xcode 和所有版本(从 3.0 到 4.0)的 iPhone 模拟器中运行。

现在我的问题 - 如果我的项目可以使用设置为 3.1.3 的基础 sdk 进行构建,如果我使用 4.0 构建并选择部署目标为 3.0,它会在真实设备上运行吗? 我只有访问权限到具有 iOS 4.0 的真实设备,没有其他方法来检查一切是否正常。

I have just submit my app to the App store, and received many comments that the application crashes on startup on older iphones. The deployment target was set to 3.1.3 and base sdk to 4.0. I thought I didn't use any api from 4.0 so the only problem could be three20 library.

Now I have two xcodes installed on my computer. After some changes my project can be build both in the newest one (3.2.3), and in the 3.2.1 with the base sdk set to 3.1.3 and deployment target to 3.0. My app works in iphone simulator in both xcodes and all versions (ranging from 3.0 to 4.0).

Now my question - if my project can be built with base sdk set to 3.1.3, will it run on the real device if I build it with 4.0 and choose deployment target to 3.0? I have only access to real device with iOS 4.0 and no other way to check whether everything is ok.

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

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

发布评论

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

评论(1

月野兔 2024-09-20 01:46:58

使用 4.0 sdk,您可以将部署目标设置为 3.0,将基础 sdk 设置为 4.0,应该没问题。如果您仍然安装了旧模拟器,则可以在模拟器上运行此构建(不要从 3.1.3 基础 sdk 重建!)来测试它,尽管拥有旧设备是理想的选择。

with the 4.0 sdk you can set the deployment target to 3.0 and the base sdk to 4.0 and it should be fine. If you have the old simulator installed still you could then run this build (don't rebuild from the 3.1.3 base sdk!) on the simulator to test it there, although having an old device would be ideal.

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