chemerisuk / cordova-plugin-firebase-config

Cordova plugin for Firebase Remote Config
MIT License
21 stars 31 forks source link

fatal error: could not build module 'Firebase' #13

Closed jskrepnek closed 5 years ago

jskrepnek commented 5 years ago

Hi. We started experiencing build errors for iOS related to Firebase and this plugin out of the blue recently (May 24th). Are you aware of anything external that might of changed that would have triggered this?

While building module 'Firebase' imported from Plugins/cordova-plugin-firebase-config/FirebaseConfigPlugin.h:2:
In file included from <module-includes>:1:
ios/platforms/ios/Pods/Firebase/CoreOnly/Sources/Firebase.h:1:9: fatal error: 'FirebaseCore/FirebaseCore.h' file not found
#import <FirebaseCore/FirebaseCore.h>
        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
In file included from /Plugins/cordova-plugin-firebase-config/FirebaseConfigPlugin.m:1:
Plugins/cordova-plugin-firebase-config/FirebaseConfigPlugin.h:2:9: fatal error: could not build module 'Firebase'
@import Firebase;
 ~~~~~~~^~~~~~~~
2 errors generated.
** BUILD FAILED **

Version 1.2.1.

chemerisuk commented 5 years ago

I've forced cordova >= 9.0.0 in v2.0.4