Reputation: 830
I have pod version 1.5.2, the latest one, but I have problem to install ml kit from firebase, I get this:
Analyzing dependencies
[!] CocoaPods could not find compatible versions for pod "Firebase/MLVision":
In Podfile:
Firebase/MLVision
None of your spec sources contain a spec satisfying the dependency: `Firebase/MLVision`.
You have either:
* out-of-date source repos which you can update with `pod repo update` or with `pod install --repo-update`.
* mistyped the name or version.
* not added the source repo that hosts the Podspec to your Podfile.
Note: as of CocoaPods 1.0, `pod repo update` does not happen on `pod install` by default.
Any solution?
Upvotes: 4
Views: 3301
Reputation: 830
The Solution in my case:
First try to:
brew install ruby
, sudo gem install
and then update the repo:
pod repo update
And that`s it, you will install ML Kit pods of Firebase
My Podfile:
# Uncomment the next line to define a global platform for your project
platform :ios, '9.0'
target 'ML test' do
# Comment the next line if you're not using Swift and don't want to use dynamic frameworks
use_frameworks!
# Pods for ML test
pod 'Firebase/Core'
pod 'Firebase/MLVision'
end
Upvotes: 3