xcode - Cordova iOS plugins not found

来源:互联网 发布:收银进销存软件 编辑:程序博客网 时间:2024/05/20 16:40
当使用ionic开发app时,添加cordova插件后,xcode却报出缺少插件的错误,错误内容如下:ERROR: Plugin 'Device' not found, or is not a CDVPlugin. Check your plugin mapping in config.xml.解决方法:1.删除./plugins/ios.json文件,2.删除./platforms/ios文件夹,即移除ios平台3.重启安装ios平台4.重新build项目
0 0
原创粉丝点击