cordova-plugin-firebase-authentication icon indicating copy to clipboard operation
cordova-plugin-firebase-authentication copied to clipboard

iOS Build fail: FirebaseAuthenticationPlugin.m:2:9: fatal error: module 'Firebase' not found

Open tonyfung99 opened this issue 6 years ago • 10 comments

    "@ionic-native/firebase": "^4.9.0",
    "cordova-plugin-firebase": "^1.0.5",
    "cordova-plugin-firebase-authentication": "^1.0.1",
    "firebase": "^5.2.0",

Above are the related package installed. Not sure is it conflicted with other libraries. Thanks.

tonyfung99 avatar Jul 11 '18 15:07 tonyfung99

Hello!

I am actually running into the same issue. Were you able to find a solution @tonyfung99 ?

tsavo-vdb-knott avatar Nov 06 '18 20:11 tsavo-vdb-knott

@T-Knott-Mesh I think at the end I dropped this library... I no longer find it exist in my package.json. I end up to accomplish the firebase SMS login function by using the below packages / plugins

"cordova-plugin-firebase": "^1.0.5", "firebase": "^5.2.0", "angularfire2": "^5.0.0-rc.11", "@ionic-native/firebase": "^4.9.0",

tonyfung99 avatar Nov 07 '18 13:11 tonyfung99

@tonyfung99 okay thank you !

ghost avatar Nov 07 '18 13:11 ghost

I think the problem is that this library doesn't work with the plugin "cordova-plugin-firebase" that uses a different version of the underlying libraries. If you use the other plugins from this author they are compatible.

JavierPAYTEF avatar Mar 09 '19 08:03 JavierPAYTEF

@T-Knott-Mesh Did you run 'pod install' inside platforms/ios? Try it.

patrickjvieira avatar Mar 10 '19 01:03 patrickjvieira

@T-Knott-Mesh Did you run 'pod install' inside platforms/ios? Try it.

can u tell me how to ?Please

uokivan avatar May 14 '19 06:05 uokivan

@uokivan I've no longer working with cordova but if i remember corectly it's a package dependcy problem, enter with terminal in project/platforms/ios and run the command 'pod install', CocoaPods is a dependency manger for Swift and Objective-C, It will fetch and install missing packages. The command can take some time it's normal. https://cocoapods.org/

patrickjvieira avatar May 17 '19 22:05 patrickjvieira

@patrickjvieira Thank you very much

uokivan avatar May 18 '19 01:05 uokivan

i have the same issue and i have done pod install inside platform/ios

moblizeit avatar May 15 '20 19:05 moblizeit

i have solved the issue by doing npm install -S firebase@canary

itshazlan avatar Jun 17 '20 02:06 itshazlan