ios armv7s是什么?

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/12569339/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me): StackOverFlow

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-08-30 20:21:53  来源:igfitidea点击:

What is armv7s?

iosxcode

提问by Mr. Boy

This seems to be a new option in newer XCode - instead of "armv6 armv7" under Valid architectures I now see "armv7 armv7s". What is armv7s and do I need to build for it as well as armv7?

这似乎是较新的 XCode 中的一个新选项 - 而不是有效架构下的“armv6 armv7”,我现在看到“armv7 armv7s”。什么是 armv7s,我是否需要像 armv7 一样为其构建?

采纳答案by venkatKA

The iPhone 5 will ship with and only run iOS 6.0. To coincide with the launch of iOS 6.0, Apple has seeded developers with a newer version of its development tools. Xcode 4.5 makes two major changes: it drops support for the ARMv6 ISA (used by the ARM11 core in the iPhone 2G and iPhone 3G), keeps support for ARMv7 (used by modern ARM cores) and it adds support for a new architecture target designed to support the new A6 SoC: armv7s.

iPhone 5 将随附且仅运行 iOS 6.0。为配合 iOS 6.0 的发布,Apple 为开发人员提供了更新版本的开发工具。Xcode 4.5 进行了两个主要更改:它不再支持 ARMv6 ISA(由 iPhone 2G 和 iPhone 3G 中的 ARM11 内核使用),保留对 ARMv7(由现代 ARM 内核使用)的支持,并增加了对设计的新架构目标的支持支持新的 A6 SoC:armv7s。

回答by Ben Groot

You do not have to build for armv7s to add support for the iPhone 5. The iPhone 5 can run armv7 compiled code as well. My app has just been submitted to the store and it is build on armv7 only and working perfect!

您不必为 armv7s 构建以添加对 iPhone 5 的支持。iPhone 5 也可以运行 armv7 编译代码。我的应用程序刚刚提交到商店,它仅基于 armv7 构建并且运行完美!

回答by marcelnijman

armv7s is the architecture of the A6 processor in the iPhone 5. And yes, you need to include this as well. With the latest version of Xcode, support for armv6 is dropped.

armv7s 是 iPhone 5 中 A6 处理器的架构。是的,您也需要包括它。使用最新版本的 Xcode,不再支持 armv6。