skip to Main Content

When I added cloud_firestore in my code I got the following error:

Error output from CocoaPods:
↳
    Ignoring ffi-1.15.5 because its extensions are not built. Try: gem pristine ffi --version 1.15.5

Error: CocoaPods's specs repository is too out-of-date to satisfy dependencies.
To update the CocoaPods specs, run:
  pod repo update

After doing pod repo update it did not help. Any idea?

2

Answers


  1. Remove Podspec.lock on you ios folder

    cd ios
    pod install

    Login or Signup to reply.
  2. It seems you are trying to build the project from Xcode, in that case you need to run pod install:

    cd iOS
    
    pod deintegrate 
    
    pod install
    

    Or what works for me most of the time is to firstly build it with vscode and only after that build it with Xcode, that works because when building flutter app with vs code, very time you build it vscode is running above mentioned commands automatically.

    Login or Signup to reply.
Please signup or login to give your own answer.
Back To Top
Search