问题描述:真机调试时,证书、配置文件一切准备就绪,Run的时候出现如下错误 Could not build module "Darwin"
解决方法:
1、在Build Setting - Architecture - Valid Architectures中删除arm64选项;
2、执行步骤1之后会出现新的错误提示:
No architectures to compile for (ONLY_ACTIVE_ARCH=YES, active arch=arm64, VALID_ARCHS=armv7 armv7s).
只要 Build Setting - Architecture中 Build Active Architecture Only for debug 默认是Yes,设置成NO即可