Flutter CocoaPods could not find compatible version: Cache and BetterPlayer
844
Please Try this steps :
if you have intel chip
- flutter clean
- update all dependencies to the latest version in pubspec.yml file and do 'get pub'
- Go to your Podfile and uncomment #platform :ios, '9.0' Then change the version to 10 platform :ios, '10.0' or higher version
- go to ios folder through terminal and do 'pod repo update'
- 'pod update' or 'pod install'
if you have M1 chip
- flutter clean
- update all dependencies to the latest version in pubspec.yml file and do 'get pub'
- Go to your Podfile and uncomment #platform :ios, '9.0' Then change the version to 10 platform :ios, '10.0' or higher version
- go to ios folder through terminal and do 'arch -x86_64 pod repo update'
- 'arch -x86_64 pod update' or 'arch -x86_64 pod install'
Comments
-
Luca_54 over 1 year
I tried to install the pod for Flutter on iOS with CocoaPods but got following error when I started:
[!] CocoaPods could not find compatible version for pod "Cache": In Podfile: better_player (from ´.symlinks/plugins/better_player/ios´) was resolved to 0.0.1, which depends on Cache (-> 6.0.0) Specs satisfying the ´Cache (-> 6.0.0)´ dependency were found, but they required a higher minimum deployment target.