Home > OS >  How to fix "Concurrency is only available in iOS 15.0.0 or newer" error Flutter
How to fix "Concurrency is only available in iOS 15.0.0 or newer" error Flutter

Time:07-04

I recently updated my Flutter SDK to 3.0.4, and my project would no longer build when trying to launch on the iOS Simulator.

I got the following errors and implemented the solutions below each error:

The iOS Simulator deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 8.0, but the range of supported deployment target versions is 9.0 to 15.0.99.

Solution that has worked in the past but fails now since this is also included in the error message: previewIn you podfile. Check the platform version uncomment it and change it to 11. Also open the runner.xcworkspace in xcode. You will see warnings ontop. Click on those warnings and click on perform charges. And run the project from Xcode once

EDIT

If you click on the icon that's marked in red. It should open the warning on the left pane. Select each one and it will show a pop up to resolve versions.

Also execute pod install --repo-update and try once

CodePudding user response:

Turns out this issue was caused by XCode. Uninstalling and reinstalling the most recent version solved it for me

  • Related