📜  不支持使用“requireCordovaModule”加载非cordova模块“xcode” - Javascript代码示例

📅  最后修改于: 2022-03-11 15:04:00.678000             🧑  作者: Mango

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