xcode15无法运行模拟器

2024-08-11  本文已影响0人  简繁之间_来去自然

1 设置Excluded Architectures


img1.jpg

2 podfile内增加配置项后执行pod install

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

post_install do |installer|
  installer.pods_project.targets.each do |target|
    target.build_configurations.each do |config| 
    config.build_settings["EXCLUDED_ARCHS[sdk=iphonesimulator*]"] = "arm64"
    end
  end
end
上一篇 下一篇

猜你喜欢

热点阅读