用于ios用法描述的edit-config:doc.find不是一个函数 [英] edit-config for ios usage descriptions: doc.find is not a function

查看:795
本文介绍了用于ios用法描述的edit-config:doc.find不是一个函数的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

config.xml 中使用 edit-config 标记时,我在构建时遇到此错误:

When using the edit-config tag in config.xml, I get this error on build:

Error: doc.find is not a function

任何想法?

推荐答案

我认为<$ c时错误已经抛出$ c> platforms / ios / ios.json 文件与 cordova.xml 冲突。
解决此问题,删除 * - Info.plist 键及其在 platforms / ios / ios.json 并再次 cordova准备ios

I think that the error has thrown when the platforms/ios/ios.json file is conflicting to the cordova.xml. to resolve this issue, remove *-Info.plist key and its value in platforms/ios/ios.json and do cordova prepare ios again.

这篇关于用于ios用法描述的edit-config:doc.find不是一个函数的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆