close

[Solved] The iOS Simulator deployment targets is set to 8.0, but the range of supported deployment target version for this platform is 9.0 to 14.1

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 mine stack track. The iOS Simulator deployment targets is set to 8.0, but the range of supported deployment target version for this platform is 9.0 to 14.1 in 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 The iOS Simulator deployment targets is set to 8.0, but the range of supported deployment target version for this platform is 9.0 to 14.1 Error occurs ?

When I am running my app in ios simulator I am getting below warning message in my Xcode 15.4.

My deployment target is 9.0

How to Solve The iOS Simulator deployment targets is set to 8.0, but the range of supported deployment target version for this platform is 9.0 to 14.1 ?

Question: How to Solve The iOS Simulator deployment targets is set to 8.0, but the range of supported deployment target version for this platform is 9.0 to 14.1 ?
Answer: You can set up your profile to automatically match the deployment target of all the profiles to your current project deployment target like Solution 1.

Solution 1

You can setup your podfile to automatically match the deployment target of all the podfiles to your current project deployment target like this :

Replace below code in your project_directory/ios/Podfile

Replace Above Line With Below code

Solution 2

Just Manually Update Development target in xcode Pods file.

The problem is in your pod files deployment target iOS Version not in your project deployment target iOS Version, so you need to change the deployment iOS version for your pods as well to anything higher than 8.0 to do so open your project workspace and do this:

  • Click on pods.
  • Select each project and target and click on build settings.
  • Under Deployment section change the iOS Deployment Target version to anything more than 8.0 (better to try the same project version).
  • Repeat this for every other project in your pods then run the app.

Solution 3

  1. Delete your Podfile.lock
  2. Delete your Podfile
  3. Build Project
  4. Add initialization code from firebase
  5. cd /ios
  6. pod install
  7. run Project

This Solution was what worked for me.

Solution 4

You can set the Deployment target for all your Pods references :

Or remove the value:

Summery

So it’s all About All possible solutions. Hope this above all solution helped you a lot. Comment below Your thoughts and your queries. Comment Below on your suggestion.

Check Out Below Article

Milan Dhameliya is an Information Technology Engineer. By profession, he is a Full Stack developer with knowledge of multiple back-end platforms (e.g., PHP, Node.js, Python) and frontend Flutter frameworks.

Leave a Comment