Team/난감했던 이슈들

[ IONIC ] Ionic firebase plugin install fail

HEON.D 2021. 2. 17. 17:53

Ionic firebase plugin install fail

Using "requireCordovaModule" to load non-cordova module "xcode" is not supported. Instead, add this module to your dependencies and use regular "require" to load it.

  1. Install xcode: npm i xcode --save-dev
  2. Edit the plugin file locally plugins/cordova-plugin-firebase/scripts/ios/helper.js
  3. Add var xcode = require("xcode"); on top
  4. Then in the same file, just remove this line var xcode = context.requireCordovaModule("xcode");. You must find two occurrence of this line.

 

github.com/arnesson/cordova-plugin-firebase/issues/1033