Flutter iOS build warnings

116 Views Asked by At

When I try to archive my flutter product for release I am getting lot of warnings as shown below.

Minimum deployment iOS version: 12

Xcode version: 14.2

My POD file for installation as below:


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['ENABLE_BITCODE'] = 'NO'
        config.build_settings['IPHONEOS_DEPLOYMENT_TARGET'] = '12.0'
    end
  end
end


enter image description here

1

There are 1 best solutions below

3
On

You have to change this line in your podfile at root/ios/Podfile to the desired target version. enter image description here Then you'd ideally reinstall all pods or do a repo update

Happy coding :)