Module ‘cloud_firestore’ not found on xcode while using flutter.

Christin Hume

I have been using flutter to build apps on and off for almost 2 years. This is one of the most frustrating errors I faced so far. I believe it might help some of you and save you time.

This occurred when to me when I am trying to run the flutter app with firebase firestore on my mac's Xcode

Elisa Ventur

Module ‘cloud_firestore’ not found on xcode while using flutter.

Solution 1:

  1. flutter clean && rm -rf Pods && rm Podfile.lock Podfile
  2. cd ios
  3. rm -rf Pods
  4. rm Podfile.lock Podfile
  5. flutter run

Solution 2:

  1. backup your ios folder
  2. backup your ios/runner/info.plist
  3. delete ios folder
  4. flutter create .
  5. Replace the ios/runner/info.plist with your backup
  6. flutter run

😁 Follow me and drop me some claps 👏👏 👏 if this article helps you, it motivates 💪 me to create more! Thank you, everyone! 🙏



Phong Yew Tong

I will follow you back. Entrepreneurship, React, Flutter, Firebase, Typescript, Javascript, ChatGPT, Crypto. Visit