skip to Main Content

I can’t load all the requested pods apparently there is a problem with these two project dependencies … "pod upgrade" terminal command results are:

Updating local specs repositories
Analyzing dependencies
firebase_auth: Using Firebase SDK version '10.3.0' defined in 'firebase_core'
firebase_core: Using Firebase SDK version '10.3.0' defined in 'firebase_core'
firebase_database: Using Firebase SDK version '10.3.0' defined in 'firebase_core'
[!] CocoaPods could not find compatible versions for pod "Firebase/Database":
  In Podfile:
    firebase_database (from `.symlinks/plugins/firebase_database/ios`) was resolved to 10.0.7, which depends on
      Firebase/Database (= 10.3.0)

    flutter_geofire (from `.symlinks/plugins/flutter_geofire/ios`) was resolved to 0.0.1, which depends on
      GeoFire (~> 4.0) was resolved to 4.1.0, which depends on
        Firebase/Database (~> 6.0)

2

Answers


  1. Inside /ios directory, remove the Podfile.lock file.

    Then, on terminal, run to this directory:

    cd ./ios
    

    Then run the following command:

    pod deintegrate && pod repo update && pod install
    

    The command is composed of three parts:

    • "pod deintegrate" – This command will deintegrate CocoaPods from the project, removing any references to Pods and the Podfile.lock file
    • "pod repo update" – This command updates the local copy of the CocoaPods spec repo, which is the source of information about available pods.
    • "pod install" – This command installs the pods specified in the Podfile, and creates an Xcode workspace if one does not already exist.

    This command is useful when you want to update your project’s dependencies and integrate the new version of the Pod without having any conflicts.

    Login or Signup to reply.
    1. Delete the pod file inside the ios folder.
    2. go to the terminal in path ios ios folder and run command "pod init"
    3. manage signin procedure in xcode
    4. noy try to run
    Login or Signup to reply.
Please signup or login to give your own answer.
Back To Top
Search