在build setting设置Excluded Architectures中设置模拟器的SDK去掉arm64架构,如下图所示:
就是在用模拟器生成.a文件的时候加上arm64,早用真机生成.a文件的时候记得去掉arm64