IPHONEOS_DEPLOYMENT_TARGET is set to 8.0 Xcode 12 (Flutter) IPHONEOS_DEPLOYMENT_TARGET is set to 8.0 Xcode 12 (Flutter) flutter flutter

IPHONEOS_DEPLOYMENT_TARGET is set to 8.0 Xcode 12 (Flutter)


In addition to what Akif said, here's a running list of reasons why this error could be showing up for you:

  1. Set the MinimumOSversion to 9.0 in ios/Flutter/AppFrameworkInfo.plist
  2. In Xcode, ensure that the iOS deployment target at Runner -> Project -> Runner is set to 9.0
  3. In Xcode, ensure that the Deployment Info in Runner -> Targets -> Runner is set to iOS 9.0
  4. Double check that your GoogleService-Info.plist is there and was added via Xcode (not copy/pasted into the directory via Finder for example)
  5. Uncomment the #platform :iOS, '9.0' line in your ios/Podfile

Then, run the following in your terminal to build with a fresh state:

flutter clean \        && rm ios/Podfile.lock pubspec.lock \        && rm -rf ios/Pods ios/Runner.xcworkspace \        && flutter build ios


replace this code of pod file:

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'  end endend


You need to set MinimumOSVersion to 9.0 in ios/Flutter/AppFrameworkInfo.plist. It will look like this:

  <key>MinimumOSVersion</key>  <string>9.0</string>