我正在ios中创建一个phonegap应用程序,我正在按照下面提到的链接
http://docs.phonegap.com/en/1.9.0/guide_getting-started_ios_index.md.html
在链接中我们需要下载电话间隙,我已经这样做了 然后单击基于cordova的应用程序,但在我的应用程序中,我没有得到选项 选择相同的。
那么有人可以建议如何做到这一点吗?
答案 0 :(得分:0)
PhoneGap安装过程已更改。您不会在Xcode中获得任何模板,我们可以在终端中创建应用程序
List of this you need to install phoneGap are
1. node.js
2. cordova
3. phonegap
first install node.js and then phone gap/cordova
once your installation is completed open terminal and then create a cordova based application
use this for creating process
http://cordova.apache.org/docs/en/3.3.0/guide_cli_index.md.html
this for plugins
http://docs.phonegap.com/en/3.4.0/cordova_plugins_pluginapis.md.html#Plugin%20APIs
答案 1 :(得分:0)
cd到您的工作区
cd /Users/xxxx/Desktop
创建cordova项目
cordova create your-project-name
cd到你的项目
cd your-project-name
添加ios平台
cordova platform add ios
使用cordova build
构建项目cordova build ios
完成!!
参考:http://blog.revivalx.com/2014/02/21/crud-operation-using-jquery-mobile-on-android-part-1/