加入收藏 | 设为首页 | 会员中心 | 我要投稿 李大同 (https://www.lidatong.com.cn/)- 科技、建站、经验、云计算、5G、大数据,站长网!
当前位置: 首页 > 百科 > 正文

ios – 使用Phonegap安装Cordova插件 – 无Cordova.plist

发布时间:2020-12-15 01:52:42 所属栏目:百科 来源:网络整理
导读:我正在尝试为我的应用程序安装一个插件(这是正常工作),编译在XCode使用Cordova和PhoneGap框架。 根据插件的指示,我应该添加一个键到Cordova.plist文件,但我找不到我的层次结构。 Here is a screenshot of the directories in my XCode project。 这个问题
我正在尝试为我的应用程序安装一个插件(这是正常工作),编译在XCode使用Cordova和PhoneGap框架。

根据插件的指示,我应该添加一个键到Cordova.plist文件,但我找不到我的层次结构。 Here is a screenshot of the directories in my XCode project。

这个问题的修复是什么?

解决方法

由于PhoneGap升级,Cordova.plist文件已停止,而是config.xml。

Source

编辑:由于原始页面已被删除,这里是一个从论坛线程的脚本:

Are you using the brand new PhoneGap version 2.3.0,which was release 7/Jan/2013? The Wikitude plugin is currently only tested with PhoneGap 2.2.0. In 2.3.0 cordova.plist has been changed to config.xml

From 07001

Cordova.plist is changed to config.xml

The configuration Cordova.plist file has been changed to config.xml – it comes in a new format that is the same as the Android config.xml. If you are upgrading,you will need to convert your existing Cordova.plist by running the bin/cordova_plist_to_config_xml script. The 2.3.0 project itself will warn you (in the console log) if you are still using the old Cordova.plist and tell you to upgrade.

Try to edit the new config.xml accordingly – we are working on a updated Plugin compliant to 2.3.0 in the next weeks.

(编辑:李大同)

【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容!

    推荐文章
      热点阅读