'IPHONEOS_DEPLOYMENT_TARGET' is set to 8.0

问题:

'IPHONEOS_DEPLOYMENT_TARGET' is set to 8.0_第1张图片
截屏2020-12-11 08.11.35.png

解决:

在Podfile中的最下边将

post_install do |installer|
  installer.pods_project.targets.each do |target|
    flutter_additional_ios_build_settings(target)
    end
end

替换为

post_install do |installer|
  installer.pods_project.targets.each do |target|
    flutter_additional_ios_build_settings(target)
      target.build_configurations.each do |config|
        config.build_settings['IPHONEOS_DEPLOYMENT_TARGET'] = ‘9.0’
      end
    end
end

注意:

platform : ios, '9.0'

config.build_settings['IPHONEOS_DEPLOYMENT_TARGET'] = ‘9.0’
需要一致


'IPHONEOS_DEPLOYMENT_TARGET' is set to 8.0_第2张图片
截屏2020-12-12 09.52.39.png

你可能感兴趣的:('IPHONEOS_DEPLOYMENT_TARGET' is set to 8.0)