Xcode 6标准体系结构不包括armv7s [英] Xcode 6 Standard architectures exclude armv7s

查看:116
本文介绍了Xcode 6标准体系结构不包括armv7s的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在试验Xcode 6 Beta,并注意到armv7s从标准架构中消失了。我确实扫描了Xcode 6发行说明,但没有看到更改。任何人都可以确认这一变化吗?

I am experimenting with Xcode 6 Beta, and noticed armv7s disappeared from Standard Architectures. I did scan through Xcode 6 release notes, but didn't see changes on that. Can anyone confirm this change?

Xcode 5.1.1:

Xcode 5.1.1:

Xcode 6 Beta:

Xcode 6 Beta:

更新

iOS 8 Beta论坛上也有一个讨论此话题的主题。 https://devforums.apple.com/thread/244407?tstart=0

There is a thread on iOS 8 Beta forum discussing this topic as well. https://devforums.apple.com/thread/244407?tstart=0

另请注意@ThomasW有关于向架构添加armv7的答案。

Also note @ThomasW had an answer on adding armv7s to Architectures.

推荐答案

我还在此提交了一个错误并得到了回复,声明这是故意的。如果要构建armv7s,则必须手动添加体系结构。我现在知道为什么要做出这种改变。如果我收到其他信息,我会更新此信息。

I also filed a bug on this and got a reply stating that this is intentional. If you want to build for armv7s you have to add the architecture manually. I have now idea why this change was made. I'll update this if I get additional information.

更新来自开发论坛:


包含armv7s的原因是边际向后兼容性。但 armv7和armv7s指令集之间的一般差异很小。因此,如果您选择不包含armv7s,目标armv7机器代码仍可在32位A6设备上正常运行,几乎没有人会注意到性能差距。

The reason for including armv7s would be marginal backward compatibility. But the general differences between armv7 and armv7s instruction sets are minor. So if you choose not to include armv7s, the targeted armv7 machine code still runs fine on 32 bit A6 devices, and hardly one will notice performance gap.

- 周扬

这篇关于Xcode 6标准体系结构不包括armv7s的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆