No architectures to compile for …

编译报错如下:

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即可。

未添加x86_64
将x86_64加进去即可

重新编译就可以了。

尊重原创内容,转载请注明出处
本文链接地址: https://www.awnlab.com/archives/450

为您推荐

发表评论

邮箱地址不会被公开。 必填项已用*标注