cordova-plugin-firebasex: 'FirebaseFirestore' not found

I get import error:

In file included from .../platforms/ios/Runner/Plugins/cordova-plugin-firebasex/FirebasePlugin.m:1:
.../platforms/ios/Runner/Plugins/cordova-plugin-firebasex/FirebasePlugin.h:4:9: fatal error: module 'FirebaseFirestore' not found

I found in: https://raw.githubusercontent.com/dpa99c/cordova-plugin-firebasex/master/plugin.xml this line:

...
<pod name="FirebaseFirestore" git="https://github.com/invertase/firestore-ios-sdk-frameworks.git" tag="6.33.0"/>
...

but there are 7.X versions in: https://github.com/invertase/firestore-ios-sdk-frameworks/tags

I think we need to update Firebase plugins version in plugin.xml

About this issue

  • Original URL
  • State: closed
  • Created 3 years ago
  • Comments: 20

Most upvoted comments

ok, that sounds … mysterious

We do use the keyboard package and have it in package.json so, not sure this is the actual problem we have.

Thanks anyway

Just skip cordova and choose another technology. Maybe flutter…

@burtsevyg could you solve it in the end ? I’m struggling to have my app building properly on XCode 12.5

In file included from /Users/builder/clone/apps/ocd/platforms/ios/MY_APP/Plugins/cordova-plugin-firebasex/FirebasePlugin.m:1:
/Users/builder/clone/apps/ocd/platforms/ios/MY_APP/Plugins/cordova-plugin-firebasex/FirebasePlugin.h:4:9: fatal error: module 'FirebaseFirestore' not found
@import FirebaseFirestore;
 ~~~~~~~^~~~~~~~~~~~~~~~~
1 error generated.

Try Cd /platforms/ios Pod update