如何为 iOS 个应用选择 ABI 架构

How to choose the ABI architecture for iOS app

我正在使用 Xamarin Forms 开发 iOS 应用程序,但在为 iOS 应用程序选择 ABI 架构时遇到了问题。我们的目标是 iOS 版本 9 及更高版本的 iPhone 和 iPad。

经过大量谷歌搜索后,我得到了以下内容,

https://www.innerfence.com/howto/apple-ios-devices-dates-versions-instruction-sets

http://wanderingcoder.net/2010/07/19/ought-arm/

我的问题如下,

我们有三种架构,

哪种架构或架构组合将涵盖最广泛的 2010 年后发布的设备?

使用 ARMv7 构建的 iOS 应用程序能否在具有 ARMv7s 架构的 iOS 设备上运行?

可以找到您问题的部分答案here

在 Xamarin Studio 中选择架构时也可以找到部分信息。

Which architecture or architecture combination will cover the widest range of devices released after 2010?

ARMv7 + ARM64

这是 Xamarin.Forms 应用程序中的默认设置。当然,这是考虑到应用程序的大小,因为没有什么能阻止您使用:ARMv7 + ARMv7s + ARM64,但您的最终应用程序的大小会更大。

Will the iOS app build with ARMv7 work in iOS devices having ARMv7s architecture?

是的。下面是兼容性table(显示ARMv7s设备的旧版本)可以看到更多更新here

如您所见,ARMv7 构建运行甚至超过 iPhone 6

希望对您有所帮助!