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

targets ->build setting 下的 Build Active Architecture Only 设置 NO  就可以.
原文地址:https://www.cnblogs.com/jzssuanfa/p/6792529.html