mac M1 芯片不支持跑模拟器问题

2022-08-25  本文已影响0人  笑看人生_44e2

1.Excluded Architecture中Debug和Release添加Any iOS Simulator SDK属性,添加值arm64并且设置Active Architecture都为YES


image.png

2.Podfile文件添加设置,在指定source源后面(target前添加)添加

config.build_settings["EXCLUDED_ARCHS[sdk=iphonesimulator*]"] = "arm64"

3.
  1. pod install 选择模拟器运行
上一篇 下一篇

猜你喜欢

热点阅读