I have just come from uninstalling the original firebase Cordova plugin to replace it with this one. I have installed it via the command:
cordova plugin add cordova-plugin-firebasex
and I have run:
cordova platfrom add ios
cordova platform add android
and all is fine when i build android but on ios it just gives me one line 'Preparing Firebase on iOS' and then cancels out of the build. even in --debug it says the same.
I also tried running through these commands to remove everything and add it back in
rm -Rf platforms/android
cordova plugin rm cordova-plugin-firebasex
cordova plugin rm cordova-plugin-firebase
rm -Rf plugins/ node_modules/
npm install
cordova plugin add cordova-plugin-firebasex
cordova platform add android
I have the same issue. Can anyone help? I have tried cleaning the project(removing plugins and node_modules), reinstalling. I previously had the cordova-plugin-firebase-lib and it broke.
I have an Ionic build.
ionic info:
ionic (Ionic CLI) : 4.12.0
Ionic Framework : ionic-angular 3.9.2
@ionic/app-scripts : 3.2.3
Cordova:
cordova (Cordova CLI) : 9.0.0 ([email protected])
Cordova Platforms : ios 5.0.1
System:
Android SDK Tools : 26.1.1 (/Users/nikoschrysis/Library/Android/sdk)
ios-deploy : 1.9.2
ios-sim : 8.0.2
NodeJS : v10.16.0 (/usr/local/bin/node)
npm : 6.11.2
OS : macOS Mojave
Xcode : Xcode 10.3 Build version 10G8
See #101.
This is fixed on master so install direct from there until v6.0.8 is released to npm.
See #101.
This is fixed on master so install direct from there until v6.0.8 is released to npm.
Ah, sorry I did try finding this issue but nothing came up - I will give that a go thanks very much
Thanks for the rapid answer, much appreciated !
I now get stuck during ProcessPCH phase of ios build, I am just writing it down here if you guys get stuck here too, but It might just be me and some other code not related to firebasex
If you're building with ionic, try ionic cordova prepare ios && cordova build ios instead of ionic cordova build ios - when I encountered build freezes, it was only via Ionic CLI, not Cordova CLI.
I now get stuck during ProcessPCH phase of ios build, I am just writing it down here if you guys get stuck here too, but It might just be me and some other code not related to firebasex
Same Here! I'm using de latest version and i made this test with just firebasex + googleplus plugins in a blank start Ionic starts.
If you're building with ionic, try
ionic cordova prepare ios && cordova build iosinstead ofionic cordova build ios- when I encountered build freezes, it was only via Ionic CLI, not Cordova CLI.
Thanks a lot! Works perfectly!
Most helpful comment
If you're building with ionic, try
ionic cordova prepare ios && cordova build iosinstead ofionic cordova build ios- when I encountered build freezes, it was only via Ionic CLI, not Cordova CLI.