
you can run rm -rf ~/Library/Developer/Xcode/DerivedData/* So, if you already have a project, here are the steps I recommend, as this works perfectly for me:ĭelete the Pods directory, the /ios/podfile.lock, and the ios/Flutter/Flutter.podspecĭelete all of the contents inside your DerivedData folder. Instead, just override all of the firebase dependencies using $FirebaseSDKVersion = '8.0.0'ĭon't forget to specify your iOS Deployment target on your podfile and match it with the deployment target on your Runner.xcworkspace file (Both in the runner and in the target)

Never run the command pod install manually.ĭo not add the line pod install Firebase to your podfile. So, I noticed several things that might cause an error when building for iOS. Thank you so much 🙏įinally after days of trying and error, I found a way to work it out.
#FLUTTER XCODE CLOUD HOW TO#
See the error only showing at the import Cloud Firestore lineĭoes anyone know how to resolve this error? Any help would be very much appreciated. What intrigue me is, I also add Firebase_auth package and it works just fine. I have imported my ist to my Runner via Xcode and double checking the name. I've tried flutter clean -> flutter pub get -> flutter build ios, but still resulting in the same error. Here is My podfile and here is my pubspec.yaml dependencies pubspec.yaml dependenciesĭeintegrate pod and installing pod again(including deleting the podfile.lock and pods directory and reinstalling the pod again) I've make sure to add the dependencies either in Podfile or in my Pubspec.yaml file. Upon building my app in Xcode 12.5.1 (which I opened using Rosetta), I got this errorĮrror when building app - Module 'cloud_firestore' not found

I did most of the coding process on VSCode, but after implementing firestore, I tried building in Xcode since I got some error on VSCode. I was trying to setup a Cloud Firestore connection to my app.
