Fatal error: module 'cloud_firestore' not found


Can’t archive Flutter iOS app that uses cloud_firestore dependency

Description of the issue

The build fails here:

/Users/vagrant/git/ios/Runner/GeneratedPluginRegistrant.m:10:9: fatal error: module 'cloud_firestore' not found
@import cloud_firestore;
1 error generated.


Xcode Archive & Export for iOS 2.7.2


  • Does a “Rebuild” help? NO
  • Does a rebuild without caches help? (You can remove the Cache:Pull and Cache:Push steps temporarily to not to use the cache, or you can delete all the caches on the Settings tab of the app. : NO
  • Does the issue happen sporadically, or every time? : Every time
  • Does upgrading the build Step to the latest version help? : NO
  • When did the issue start? : Always, since the first time I’ve tried

Local reproduction

On my local machine the archiving works

Build log