close

[Solved] warning: The iOS deployment target ‘IPHONEOS_DEPLOYMENT_TARGET’ is set to 8.0

Hello Guys How are you all? Hope You all are fine. When I was trying to run my flutter app and suddenly I get the following error in my stack track. warning: The iOS deployment target ‘IPHONEOS_DEPLOYMENT_TARGET’ is set to 8.0 in a flutter. So today Here I come with all possible solutions for this error.

We are providing you all possible solutions to solve this error. let’s start this article without wasting your time.

How warning: The iOS deployment target ‘IPHONEOS_DEPLOYMENT_TARGET’ is set to 8.0 Error Occurs ?

When I was trying to run my flutter app and suddenly I get the following error in my stack track. warning: The iOS deployment target ‘IPHONEOS_DEPLOYMENT_TARGET’ is set to 8.0 in a flutter.

How to Solve warning: The iOS deployment target ‘IPHONEOS_DEPLOYMENT_TARGET’ is set to 8.0 Error?

Question: How to Solve warning: The iOS deployment target ‘IPHONEOS_DEPLOYMENT_TARGET’ is set to 8.0 Error?
Answer: To solve this error just Set MinimumOSVersion to 9.0 in ios/Flutter/AppFrameworkInfo.plist. Make sure that you uncomment platform :ios, '9.0' in ios/Podfile and Make sure that ios/Podfile contains the following post install script:

Solution 1

This is because XCode 12 does only support building for the iOS target versions 9 – 14. Unfortunately the default iOS target set by flutter is 8. But you should be able to change the target in the ios/Runner.xcworkspace file using XCode.

To Resolve this error Just make sure that,

  • Set MinimumOSVersion to 9.0 in ios/Flutter/AppFrameworkInfo.plist
  • Make sure that you uncomment platform :ios, '9.0' in ios/Podfile
  • Make sure that ios/Podfile contains the following post install script:

This Solution Solved my Problem.

Solution 2

Just replace this code at the ios/Podfile end of the PodFile.

Solution 3

  1. Open XCode.
  2. Click on Pods.
  3. Just Set Deployment target to 9.0 to every single Pods. Just like Below.
warning: The iOS deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 8.0,
The iOS deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 8.0,
warning the ios deployment target,
ios deployment target iphoneos_deployment_target,
warning the ios deployment

Summery

So, It’s All About warning: The iOS deployment target ‘IPHONEOS_DEPLOYMENT_TARGET’ is set to 8.0. I hope this tutorial helps you to solve your error. Please Comment Below if You stucks anywhere with my code.

Also Check Out Below Tutorials

Leave a Comment

%d bloggers like this: