简介
最近升级了Xcode 14.3 版本后遇到下面的问题
bug
解决方法
更改 项目目录下面的 ios/Profile
文件
将
post_install do |installer|
installer.pods_project.targets.each do |target|
flutter_additional_ios_build_settings(target)
end
end
更改为
代码语言:javascript复制post_install do |installer|
installer.pods_project.targets.each do |target|
flutter_additional_ios_build_settings(target)
end
installer.generated_projects.each do |project|
project.targets.each do |target|
target.build_configurations.each do |config|
config.build_settings['IPHONEOS_DEPLOYMENT_TARGET'] = '11.0'
end
end
end
end
即可解决,目的是让插件的最小版本号提升到11