Flutter Firebase Pubspec.yaml Update-- Getting [!] CocoaPods could not find compatible versions for pod "Firebase/CoreOnly":

Viewed 975

After updating my pubspect yaml versions from

firebase_auth: ^1.0.1
firebase_core: ^1.0.2
cloud_firestore: ^1.0.3

to

firebase_auth: ^1.1.2
firebase_core: ^1.1.0
cloud_firestore: ^1.0.7

I'm getting the following output:

checking is only perfomed in repo update
    [!] CocoaPods could not find compatible versions for pod "Firebase/CoreOnly":
      In snapshot (Podfile.lock):
        Firebase/CoreOnly (= 7.3.0)

      In Podfile:
        firebase_core (from `.symlinks/plugins/firebase_core/ios`) was resolved to 1.1.0, which depends on
          Firebase/CoreOnly (= 7.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 `firebase_core`.
       You should run `pod update Firebase/CoreOnly` to apply changes you've made.

After running 'pod init' inside iOS folder, I'm getting

[!] No Xcode project found, please specify one

and after running 'pod install' within the iOS folder also,

[!] No `Podfile' found in the project directory.

However. The Podfile DOES EXIST. [Please refer to the image attached][1]

Also, my Flutter Doctor is showing no errors.

Thanks, and all best, -A.V. [1]: https://i.stack.imgur.com/DR2kx.png

0 Answers
Related