如果仅在 Xcode 4.2 中使用armv6来支持新旧设备有什么缺陷吗?

发布于 2024-12-18 04:02:23 字数 135 浏览 2 评论 0原文

我正在开发一个支持 iOS 3.0 以来的应用程序。使用 Xcode 4.2,我必须手动将 armv6 添加到 Architectures 中。那么针对新设备优化的armv7是使用“armv6 armv7”编译的唯一优势吗?尺寸会比仅使用armv6更大吗?

I'm developing an app supporting since iOS 3.0. With Xcode 4.2, I have to add armv6 manually to Architectures. So is armv7 optimized for new devices the only advantage to compile with "armv6 armv7"? The size will be bigger than with only armv6 ?

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

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

发布评论

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

评论(1

○闲身 2024-12-25 04:02:23

仅使用 armv6 并不是最佳选择 - 但它可以在较旧的 iOS 设备上运行(即没有缺陷)。

另一种方法是提供 armv6armv7 二进制文件,以便较新的设备将使用 armv7 代码。当然,这将使应用程序代码的大小加倍。根据您的应用程序(例如,如果速度是一个问题),这可能是值得的,但它不会影响兼容性。

Using only armv6 is not optimal - but it will work on older iOS devices (i.e. no defect).

An alternative is to provide both armv6 and armv7 binaries so newer devices will use the armv7 code. Of course that will double the size of the application code. It might be worth it depending on your application (e.g. if speed is an issue) but it will not affect compatibility.

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