1 設(shè)置Excluded Architectures
img1.jpg
2 podfile內(nèi)增加配置項(xiàng)后執(zhí)行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