xcode 我的 Phonegap-Project 中没有 PhoneGap.plist

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/10608715/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me): StackOverFlow

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-09-15 00:20:52  来源:igfitidea点击:

There is not PhoneGap.plist in my Phonegap-Project

iphonexcodecordova

提问by itinance

Starting working with phonegap on a mac (Xcode 4, building an iphone application) I've read a lot about a file called phonegap.plist, including whitelisting of external Urls and something else.

开始在 Mac 上使用 phonegap(Xcode 4,构建 iphone 应用程序)我已经阅读了很多关于名为 的文件phonegap.plist,包括外部 URL 的白名单和其他内容。

This is my question, I can not find such a file in the phonegap-projectin my xcode 4 project. There is a file named by cordova.plist, and a file project-name.plist(where project-name indicates the real name of the project). But there is no file with the name called phonegap.plist.

这是我的问题,我phonegap-project在我的 xcode 4 项目中找不到这样的文件。有一个以 命名的文件cordova.plist,还有一个文件project-name.plist(其中project-name 表示项目的真实名称)。但是没有名为phonegap.plist.

I tried the search of Xcode, i tried find / -iname 'phonegap.plist'

我试过搜索 Xcode,我试过了 find / -iname 'phonegap.plist'

Where is my error in reasoning?

我的推理错误在哪里?

回答by Simon MacDonald

PhoneGap.plist has been renamed Cordova.plist.

PhoneGap.plist 已重命名为 Cordova.plist。

回答by smartkid

Since PhoneGap upgraded, the Cordova.plist file was discontinued and is instead config.xml.

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

回答by Gokul

Yes, try config.xml you can find the plugins there..

是的,试试 config.xml 你可以在那里找到插件..