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
How Can I fix this ?
2
Answers
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:
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.
From your project directory just go to ios > open Podfile then,
This will fix your error.