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

来源:互联网 发布:linux脚本获取进程名称 编辑:程序博客网 时间:2024/04/27 17:45

ios打开demo 运行 会出现错误:

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


http://www.dnetzj.com/Content/389.html

http://blog.csdn.net/capacity_bo/article/details/41800765

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



这时候到项目设置里面把涉及倒的target的Build Active Architecture ONLY 设置为NO

Architectures增加"armv6"







0 0
原创粉丝点击