CordovaFramework is a framework that enables users to include Cordova in their OS X application projects easily, and also create new Cordova based OS X application projects.
Make sure you have installed the latest released OS X SDK which comes with Xcode 4. Download it at http://developer.apple.com/downloads or the Mac App Store.
- Download the source
- Extract to their final location
- There is no step 3
- 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
The docs should also have been included in the distribution.
To use a shared CordovaFramework, 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 CordovaFramework 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
- Create a new Cordova-based Application project
- Download the code from the mobile-spec and put all of it in the root of your www folder
- Modify cordova.js to point to your correct cordova-X.X.X.js version
- Run the project
None yet.
File them at the Cordova Issue Tracker