flutter开发,Xcode 14.3更新后问题2.'IPHO

2023-04-10  本文已影响0人  罐罐金

The iOS Simulator deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 9.0, but the range of supported deployment target versions is 11.0 to 16.2.99.installer.generated_projects.eachdo|project|

上来是问题---以下是解决方法

在项目的文件下/ios/Podfile文件中最底部:

       project.targets.eachdo|target|

           target.build_configurations.eachdo|config|

               config.build_settings['IPHONEOS_DEPLOYMENT_TARGET'] ='11.0'

            end

       end

     end

在最后加上这句

上一篇 下一篇

猜你喜欢

热点阅读