突然从Xcode构建和运行我的Ionic 3应用程序时,我得到一个类似的错误,对于所有的cordova插件:

WARN: Native: tried calling StatusBar.styleDefault, but the StatusBar plugin is not installed.
WARN: Install the StatusBar plugin: 'ionic plugin add cordova-plugin-statusbar'

到目前为止工作正常,我不明白为什么现在发生这种情况以及如何补救(除了重新安装) .

即使它们在package.json和config.xml中都列出得很好 .