skip to Main Content

I’m trying to build flutter app on IOS and i get this error:

Compiling for iOS 9.0, but module ‘BSGridCollectionViewLayout’ has a minimum deployment target of iOS 10.0

Tried: Xcode 12: Compiling for iOS 10.0, but module 'RxSwift' has a minimum deployment target of iOS 12.0 didn’t work

Target target

Runner target

How Can I fix this ?

2

Answers


  1. Your screen snapshot is showing the deployment target for the app, but you have to look at the deployment target of the dependency. E.g. if using Cocoapods:

    enter image description here

    By default, it uses the deployment version of the pod. But if you validate your project settings, it will try to change the deployment version, so I would uncheck that option during the settings validation process.

    enter image description here

    Login or Signup to reply.
  2. From your project directory just go to ios > open Podfile then,

    platform :ios, '10.0' // Change this 9.0 to 10.0
    

    This will fix your error.

    Login or Signup to reply.
Please signup or login to give your own answer.
Back To Top
Search