Flutter - The iOS deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 8.0

1、flutter 运行时报以下错误

The iOS deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 8.0

在ios的podfile添加

post_install do |installer|
    installer.pods_project.targets.each do |target|
        target.build_configurations.each do |config|
            config.build_settings['IPHONEOS_DEPLOYMENT_TARGET'] = '9.0'
        end
    end
end

你可能感兴趣的:(Flutter - The iOS deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 8.0)