Ad
Flutter CocoaPods Could Not Find Compatible Version: Cache And BetterPlayer
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.
Ad
Answer
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'
Ad
source: stackoverflow.com
Related Questions
- → Function Undefined in Axios promise
- → What are the pluses/minuses of different ways to configure GPIOs on the Beaglebone Black?
- → Click to navigate on mobile devices
- → Playing Video - Server is not correctly configured - 12939
- → How to allow api access to android or ios app only(laravel)?
- → Axios array map callback
- → Access the Camera and CameraRoll on Android using React Native?
- → Update React [Native] View on Day Change
- → Shopify iOS SDK - issue converting BuyProductVariant to BuyProduct
- → BigCommerce and shopify API
- → Warning: Each child in an array or iterator should have a unique "key" prop. Check the render method of `ListView`
- → React Native - Differences between Android and IOS
- → What is the difference between React Native and React?
Ad