Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Flutter build failed stuck in 'pod install’ while trying to implement cloud firestore

After completing https://codelabs.developers.google.com/codelabs/flutter-firebase/#5 these code lab steps successfully. I tried to run the app. But it is stuck in the ‘pod install’ command. When I try to find the error opening the workspace in Xcode and attempted to run from there and I found a error message. It says the Cloud Firestore Plugin.h missing?

pls See the attached screenshot. enter image description here

like image 794
Jashan PJ Avatar asked Sep 17 '18 18:09

Jashan PJ


1 Answers

Remove Podfile.lock open command line tool and navigate to iOS folder of your flutter app. Run pod install from command line tool. Verify all the pods are installed successfully.

Hope this helps!

like image 75
Mitesh Mistri Avatar answered Oct 19 '22 20:10

Mitesh Mistri