Eugene Gordin
Eugene Gordin

Reputation: 4107

Firebase/MLVision is not getting installed via Pods iOS

I'm trying to add Firebase/MLVision to my iOS app, but running pod install gives me this:

[!] CocoaPods could not find compatible versions for pod "Firebase/MLVision":
  In Podfile:
    Firebase/MLVision

Specs satisfying the `Firebase/MLVision` dependency were found, but they required a higher minimum deployment target.

What do I do? Any kind of help is highly appreciated!

Upvotes: 0

Views: 752

Answers (3)

Eugene Gordin
Eugene Gordin

Reputation: 4107

After trying different things for some time, I found my answer here: https://stackoverflow.com/a/46613676/1585677

Basically removing the Firebase/MLVision from pod file, then running

pod repo update

pod update

Then adding Firebase/MLVision to Podfile and running pod install

Upvotes: 3

Paul Beusterien
Paul Beusterien

Reputation: 29562

Likely, the ios version specified in the Podfile is too low. It needs to be at least 8.0 for Firebase 5.x, including the MLVision subspec:

platform :ios, '8.0'

Upvotes: 0

Rodrigo Mata
Rodrigo Mata

Reputation: 1859

Looks like your Pod file is not valid, or isn't targeting your project. You can see a working codelab here if you have doubts.

Upvotes: 0

Related Questions