美文网首页
mac M1 芯片不支持跑模拟器问题

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

作者: 笑看人生_44e2 | 来源:发表于2022-08-25 14:58 被阅读0次

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 选择模拟器运行

相关文章

网友评论

      本文标题:mac M1 芯片不支持跑模拟器问题

      本文链接:https://www.haomeiwen.com/subject/dxaagrtx.html