Compiling for iOS 9.0, but module 'SnapKit' has a minimum deployment target of iOS 10.0
SubZane opened this issue · 5 comments
I'm unable to build, and I cannot find where this error is really as my project settings are "Deployment target 12.0"
/.../Pods/SmoothPicker/SmoothPicker/Classes/SmoothPickerCollectionViewCell.swift:11:8:` Compiling for iOS 9.0, but module 'SnapKit' has a minimum deployment target of iOS 10.0: /.../Build/Products/Debug-iphonesimulator/SnapKit/SnapKit.framework/Modules/SnapKit.swiftmodule/x86_64.swiftmodule
Try to change your deployment target to 10.0
ok I've updated the pod run pod update and clean&build the project
awesome thanks! I'll try again this weekend :)
Just to people who may end up in the same case as me. The reason of this error was that I was using the beta
channel. After switching to the stable
channel, I ran
cd ios/
pod deintegrate
pod cache clean --all
cd ..
flutter clean
And, I removed the Podfile
and the Podfile.lock
. Then, I built the project again and it worked!