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:
- Set the
MinimumOSversion
to9.0
inios/Flutter/AppFrameworkInfo.plist
- In Xcode, ensure that the iOS deployment target at
Runner -> Project -> Runner
is set to9.0
- In Xcode, ensure that the
Deployment Info
inRunner -> Targets -> Runner
is set to iOS9.0
- Double check that your
GoogleService-Info.plist
is there and was added via Xcode (not copy/pasted into the directory via Finder for example) - Uncomment the
#platform :iOS, '9.0'
line in yourios/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>