M1 Macbook Run simulator
-
Excluded Architecture中Debug和Release添加Any iOS Simulator SDK属性,添加值arm64并且设置Active Architecture都为YES
-
Podfile文件添加设置,在指定source源后面(target前添加)添加
post_install do |installer| installer.pods_project.build_configurations.each do |config| config.build_settings["EXCLUDED_ARCHS[sdk=iphonesimulator*]"] = "arm64" end end
-
Excluded Architecture中Debug和Release后面值增加
$(inherited)
,去除pod install
警告