[英]No architectures to compile for (ARCHS=, VALID_ARCHS=armv7k) Xcode 7 beta 3
My app have a watch kit support. 我的应用程序支持手表套件。
Previously, with Xcode 6.4 my app was running properly. 以前,使用Xcode 6.4我的应用程序运行正常。
After updating with Xcode 7 beta 3 I am getting this error - 用Xcode 7 beta 3更新后,我收到此错误 -
No architectures to compile for (ARCHS=, VALID_ARCHS=armv7k). 没有要编译的体系结构(ARCHS =,VALID_ARCHS = armv7k)。
I am not sure in which target to make changes for this dependency. 我不确定在哪个目标中对此依赖项进行更改。
Currently, 目前,
my watch kit extension architecture configuration is 我的手表套件扩展架构配置是
and my watch kit app architecture configuration is 我的手表套件app架构配置是
Any help would be appreciated. 任何帮助,将不胜感激。
I encounter the same problem on more recent Xcode Beta as well. 我在最新的Xcode Beta上也遇到了同样的问题。
I able to compile now by adding i386
to Valid Architectures alongside armv7k
. 我现在可以通过在
armv7k
旁边添加i386
到Valid Architectures来编译。 Probably because of 32 bit legacy library in my project. 可能是因为我的项目中有32位遗留库。 It also works just by itself (only using
i386
). 它也可以单独工作(仅使用
i386
)。 Weird. 奇怪的。
Not sure if there's any other further implications though. 不确定是否还有其他任何影响。
I have encounter this problem when adding a watch os target to the existing the project, 将watch os目标添加到现有项目时遇到此问题,
Then I changed the Valid Architectures to armv7k , and then removed all the exiting architetures in watchkit app target and also in the watchkit extension target 然后我将有效架构更改为armv7k ,然后删除了watchkit app目标中以及watchkit扩展目标中的所有现有架构
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.