问题:
截屏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’
需要一致
截屏2020-12-12 09.52.39.png
网友评论