mateuscardosogs / react-native-firebase-mlkit

MIT License
89 stars 42 forks source link

Firebase CoreOnly compatibility #31

Open digitalbore opened 2 years ago

digitalbore commented 2 years ago

I am trying to install this library in a project that already has Firebase installed. But when I run pod install, I got this error:

[!] CocoaPods could not find compatible versions for pod "Firebase/CoreOnly":
  In snapshot (Podfile.lock):
    Firebase/CoreOnly (= 8.11.0)

  In Podfile:
    Firebase/MLVisionTextModel was resolved to 5.0.0, which depends on
      Firebase/CoreOnly (= 5.0.0)

    RNFBApp (from `../node_modules/@react-native-firebase/app`) was resolved to 14.3.0, which depends on
      Firebase/CoreOnly (= 8.11.0)

You have either:
 * out-of-date source repos which you can update with `pod repo update` or with `pod install --repo-update`.
 * changed the constraints of dependency `Firebase/CoreOnly` inside your development pod `RNFBApp`.
   You should run `pod update Firebase/CoreOnly` to apply changes you've made.

I tried everything posted here, with no results: https://stackoverflow.com/questions/56055142/cocoapods-could-not-find-compatible-versions-for-pod-firebase-coreonly

What should I do?