编译报错如下:
No architectures to compile for (ONLY_ACTIVE_ARCH=YES, active arch=x86_64, VALID_ARCHS=arm64 armv7 armv7s).
先在Build Settings中搜索VALID_ARCHS,查看是不是缺少了x86_64,如果是的话编辑增加x86_64即可。


重新编译就可以了。
编译报错如下:
No architectures to compile for (ONLY_ACTIVE_ARCH=YES, active arch=x86_64, VALID_ARCHS=arm64 armv7 armv7s).
先在Build Settings中搜索VALID_ARCHS,查看是不是缺少了x86_64,如果是的话编辑增加x86_64即可。
重新编译就可以了。
尊重原创内容,转载请注明出处 本文链接地址: https://www.awnlab.com/archives/450