Skip to content

amit777/cordova-ios

 
 

Repository files navigation

Cordova iOS

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:


Create a Cordova project

  1. Launch Terminal.app
  2. Go to the location where you installed Cordova, in the bin sub-folder
  3. 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.

Updating a CordovaLib subproject reference in your project

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.

  1. Launch Terminal.app
  2. Go to the location where you installed Cordova, in the bin sub-folder
  3. 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.

Unit Tests

  1. Create a new Cordova project
  2. Download the code from the mobile-spec and put all of it in the root of your www folder
  3. Install all the core plugins
  4. Run the project

Futher reading


About

Mirror of Apache Cordova iOS

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Objective-C 60.1%
  • JavaScript 22.6%
  • Shell 10.0%
  • Python 3.5%
  • CSS 2.4%
  • CoffeeScript 0.9%
  • Other 0.5%