flutter_facebook_login CocoaPods dependency error
According to this diegoveloper's answer flutter_facebook_login github issue.
https://github.com/roughike/flutter_facebook_login/issues/201
flutter clean
- Remove
ios/Podfile.lock
file - Go to the
Podfile
file and changed fromplatform :ios, '9.0'
toplatform :ios, '11.0'
(In my case, some libs don't support 11.0 and I useplatform :ios, '9.0then set deployment target in runner.xcsworkspace to 9.0 and it work.) - Go to the terminal ,
ios
directory and runpod install
- Run the project again.
just update your podfile .
platform :ios, '11.0'
try to pod install again in terminal.pod install
- open terminal and go to root package directory using
cd the_root_package_path
- type
flutter clean
- open
podfile
and uncomment :# platform :ios, '11.0'
- run
pod install
had the same problem, tried everything, this worked for me.