Automatically assigning platform `iOS` with version `8.0` on target `Runner`

  • Environment: Mac computer, running flutter run in vscode, the following error occurs
    insert image description here
    insert image description here
  • The code was logged out before, and now let go. podfile is the folder brought out by the Mac running itself
  • Run flutter run again and find that an error is reported
    insert image description here
  • Go to the configuration file just now to configure the code
  • insert image description here
post_install do |installer|
  installer.pods_project.targets.each do |target|
    target.build_configurations.each do |config|
      config.build_settings['IPHONEOS_DEPLOYMENT_TARGET'] = '9.0'
      config.build_settings['ENABLE_BITCODE'] = 'NO'
    end
  end
end
  • Run flutter run again to start the project successfully

Guess you like

Origin blog.csdn.net/weixin_43794749/article/details/118308043