error: No architectures to compile for (ONLY_ACTIVE_ARCH=YES, active arch=x86_64, VALID_ARCHS=i386).

解决方法: set the "Build Active Architecture Only" and "Archs" values from command line itself. We set ARCHS="armv7 armv7s" ONLY_ACTIVE_ARCH=NO.

http://stackoverflow.com/questions/12889065/no-architectures-to-compile-for-only-active-arch-yes-active-arch-x86-64-valid

时间: 2024-10-17 03:17:39

error: No architectures to compile for (ONLY_ACTIVE_ARCH=YES, active arch=x86_64, VALID_ARCHS=i386).的相关文章

No architectures to compile for (ONLY_ACTIVE_ARCH=YES, active arch=x86_64, VALID_ARCHS=i386)

今天在运行一个老ios项目的时候,突然报错:No architectures to compile for (ONLY_ACTIVE_ARCH=YES, active arch=x86_64, VALID_ARCHS=i386), 网上搜了一下资料,有多种方法,但有些没有用,后来终于找到了一种方法,解决了这个问题,现把步骤记录一下: 1.在Project target里“Architectures”设置为“Standard (armv7,armv7s)” :2.修改在Project target

如何解决No architectures to compile for (ONLY_ACTIVE_ARCH=YES, active arch=x86_64, VALID_ARCHS=i386).

错误信息 No architectures to compile for (ONLY_ACTIVE_ARCH=YES, active arch=x86_64, VALID_ARCHS=i386). 解决办法 如何解决No architectures to compile for (ONLY_ACTIVE_ARCH=YES, active arch=x86_64, VALID_ARCHS=i386).

No architectures to compile for (ONLY_ACTIVE_ARCH=YES, active arch=x86_64, VALID_ARCHS=i386).错误解决方法

targets ->build setting 下的 Build Active Architecture Only 设置 NO  就可以.

No architectures to compile for (ONLY_ACTIVE_ARCH=YES, active arch=arm64, VALID_ARCHS=armv7 armv7s)

问题: 解决: Project ->Target->Build Setting ->搜索 Build Active Architecture Only ->把值改成NO No architectures to compile for (ONLY_ACTIVE_ARCH=YES, active arch=arm64, VALID_ARCHS=armv7 armv7s)

NO architectures to compile for (ONLY_ACTIVE_ARCH=YES,active arch=x86_64,

Xcode5.1升级后发现有这个问题,先把Architecturals 的arm64架构去掉然后 我用第3个方法解决了 PBXcp error差不多算是Xcode比较常见的一个编译错误了,原因往往是添加或删除美术资源的时候出错.虽然是小问题,但出现的频率很高. 解决方法(可以依次尝试,总有一种能最终解决问题): 方法1.退出Xcode,然后从finder里面进入~/Library/Developer/Xcode/DerivedData 删掉里面所有的内容,然后重启Xcode试试看 方法2.上面的

(转)No architectures to compile for (ONLY_ACTIVE_ARCH=YES, active arch=arm64, VA 解决办法

c3dEngine在iphone6模拟器下运行报错No architectures to compile for (ONLY_ACTIVE_ARCH=YES, active arch=arm64, VA 使用下面方法中的第3条解决了问题: 转自:http://my.oschina.net/u/1244672/blog/201091 出现的原因:armv7s是应用在iPhone 5 A6 的架构上的解决的方式:1,在Project target里“Architectures”设置为“Standar

xcode工程编译错误:No architectures to compile for

问题 开发环境:xcode6,iPhone6模拟器 xcode工程编译错误:No architectures to compile for (ONLY_ACTIVE_ARCH=YES, active arch=x86_64, VALID_ARCHS=i386). 原因 导致这个错误的原因主要是CPU的编译架构引起的,Build Active Architecture Only属性设置为了YES(只编译当前模拟器指令集),当出现不兼容设备时就会出现错误. 解决 在工程Build Settings,

No Architectures to Compile for (ONLY_ACTIVE_ARCH=

No architectures to compile for (ONLY_ACTIVE_ARCH=YES, active arch=armv7, VA 运行报错 出现的原因:armv7s是应用在iPhone 5/5c/5s A6 的架构上的解决的方式:1,在Project target里"Architectures"设置为"Standard (armv7,armv7s)"2,修改在Project target里"Build Settings"的

Xcode6:No architectures to compile for(ONLY_ACTIVE_ARCH=YES...)

1.问题描述 Xcode6真机测试旧工程,不能运行,报错如下: 2.解决方案 问题很明显,当前的运行模式设置了ONLY_ACTIVE_ARCH为Yes,当时的工程的Valid Architectures只包含了armv7和armv7s,解决方案:将ONLY_ACTIVE_ARCH置为NO.