Module ‘cloud_firestore’ not found on xcode while using flutter.
Subscribe to TLDRStories.com to get your daily dose of tech news, condensed into a few stories.
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
Module ‘cloud_firestore’ not found on xcode while using flutter.
Solution 1:
- flutter clean && rm -rf Pods && rm Podfile.lock Podfile
- cd ios
- rm -rf Pods
- rm Podfile.lock Podfile
- flutter run
Solution 2:
- backup your ios folder
- backup your ios/runner/info.plist
- delete ios folder
- flutter create .
- Replace the ios/runner/info.plist with your backup
- flutter run
😁 Follow me and drop me some claps 👏👏 👏 if this article helps you, it motivates 💪 me to create more! Thank you, everyone! 🙏
Subscribe to TLDRStories.com to get your daily dose of tech news, condensed into a few stories.