优化 (armv7) 是否会阻止 armv6 硬件用户从 AppStore 下载应用程序?
如果没有,当 iPhone 3G 用户下载优化的 armv7 应用程序时会发生什么?
谢谢!
If not, what happens when say an iPhone 3G user downloads an Optimized armv7 app?
Thanks!
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
如果您的应用程序仅针对
armv7
进行编译,则该应用程序将无法在 iPhone 3G 等armv6
设备上运行。您应该将应用程序编译为
标准(armv6 armv7)
。这样它将在所有设备上运行,并且仍然会针对armv7设备进行优化。这意味着armv7
设备在标准 (armv6 armv7)
和优化 (armv7)
以及旧版armv6< 之间不会发现性能差异/code> 设备将能够运行该应用程序。
If your app is compiled for
armv7
only, the app will not run on anarmv6
device like an iPhone 3G.You should compile your app as
Standard (armv6 armv7)
. This way it will run on all devices, and it will still be optimised forarmv7
devices. This means thatarmv7
devices will see no performance difference betweenStandard (armv6 armv7)
andOptimized (armv7)
, and olderarmv6
devices will be able to run the app.如果您没有相应地(在 Info.plist 中)将其标记为仅在第 3 代及以上设备上运行(如果您仅针对 ARMv7 架构进行构建),Apple 可能会拒绝该应用程序。所以问题是没有意义的,它应该是:
如何禁止在 ARMv6 设备上下载我的 ARMv7 应用程序以获得我的应用程序批准?
我相信他们的方法是指定您的应用程序需要 OpenGL ES 2.0。
此图显示底部的 UIRequiredDeviceCapability 设置 (opengles-2):
该图像为 由本博文提供。
Apple will probably disapprove the App if you haven't flagged it accordingly (in Info.plist) to only run on 3rd generation and above devices if you only build for the ARMv7 architecture. So the question is moot, it should be:
How to disallow downloads of my ARMv7 app on ARMv6 devices to get my app approved?
They way to do that I believe is to specify that your app requires OpenGL ES 2.0.
This image shows you the UIRequiredDeviceCapabilities setting at the bottom (opengles-2):
The image is courtesy of this blogpost.