在pod文件中加入以下代码,在重新 pod install 就可以正常编译了
post_install do |installer|
installer.pods_project.build_configurations.each do |config| config.build_settings["EXCLUDED_ARCHS[sdk=iphonesimulator*]"] = "arm64"
end
end
在pod文件中加入以下代码,在重新 pod install 就可以正常编译了
post_install do |installer|
installer.pods_project.build_configurations.each do |config| config.build_settings["EXCLUDED_ARCHS[sdk=iphonesimulator*]"] = "arm64"
end
end