本文介绍了Cordova 3.3到3.4,iOS插件不加载的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我最近从Cordova 3.3更新到3.4,并没有麻烦我的Android构建,但ios版本不再加载任何插件。然后我删除所有的插件,重新添加他们,重建,他们仍然不加载。这是Xcode说的:

I recently updated from Cordova 3.3 to 3.4 and had no trouble with my Android build, but the ios version no longer loads any plugins. I then removed all the plugins and re-added them and rebuilt and they still don't load. This is what Xcode says:

CDVPlugin class CDVLocation (pluginName: Geolocation) does not exist.
ERROR: Plugin 'Geolocation' not found, or is not a CDVPlugin. Check your plugin mapping in config.xml.

任何想法,谢谢!

推荐答案

似乎删除 ./ plugins / ios.json 文件允许重新安装插件。现在它全部运行了。

Seems that deleting the ./plugins/ios.json file allowed the plugins to be reinstalled. Now it is all running again.

这篇关于Cordova 3.3到3.4,iOS插件不加载的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

09-03 08:32