Cordova iOS is an iOS application library that allows for Cordova-based projects to be built for the iOS Platform. Cordova based applications are, at the core, applications written with web technology: HTML, CSS and JavaScript.
Apache Cordova is a project of The Apache Software Foundation (ASF).
Requires:
- Xcode 5.x or greater. Download it at http://developer.apple.com/downloads or the Mac App Store.
- Launch Terminal.app
- Go to the location where you installed Cordova, in the bin sub-folder
- Follow the instructions in the Command-Line Usage section of http://docs.cordova.io
To use a shared CordovaLib, add as the first parameter "--shared" to the bin/create command.
When you update to a new Cordova version, you may need to update the CordovaLib reference in an existing project. Cordova comes with a script that will help you to do this.
- Launch Terminal.app
- Go to the location where you installed Cordova, in the bin sub-folder
- Run "update_cordova_subproject [path/to/your/project/xcodeproj]" where the first parameter is the path to your project's .xcodeproj file
By default when you create a new project, the CordovaLib sub-project is copied into your project folder, it is not shared.
- Create a new Cordova project
- Download the code from the mobile-spec and put all of it in the root of your www folder
- Install all the core plugins
- Run the project