没有要编译的架构(ONLY_ACTIVE_ARCH = YES,活动arch = x86_64,VALID_ARCHS = i386) [英] No architectures to compile for (ONLY_ACTIVE_ARCH=YES, active arch=x86_64, VALID_ARCHS=i386)

查看:588
本文介绍了没有要编译的架构(ONLY_ACTIVE_ARCH = YES,活动arch = x86_64,VALID_ARCHS = i386)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

虽然使用64位iPhone模拟器,但出现以下架构错误.还使用xcode 5.0.有任何建议.

While using the iphone simulator 64 bit, i'm getting the following architecture error. Also using the xcode 5.0. Any suggestions.

推荐答案

在构建设置下查看一下,检查设置Build Active Architecture Only是否设置为No(可能会使编译速度变慢,但应该可以解决问题) )

have a look under your build settings, check that the setting Build Active Architecture Only is set to No (might make compiling a bit slower but should fix the problem)

还要检查Valid Architectures列表中是否具有arm64

Also check that the Valid Architectures has arm64 in the list

请注意,如果提交的应用程序出现错误,提示包含arm64架构的应用程序必须同时包含armv7和armv7s架构",请将其设置为否"也可以解决此问题

Note if you are getting an error when submitting an app saying "Apps that include an arm64 architecture are required to include both armv7 and armv7s architectures", setting it to No will also fix this

这篇关于没有要编译的架构(ONLY_ACTIVE_ARCH = YES,活动arch = x86_64,VALID_ARCHS = i386)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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