You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by sh...@apache.org on 2015/07/21 01:01:55 UTC

ios commit: Update README.md to be CLI centric

Repository: cordova-ios
Updated Branches:
  refs/heads/master 57d3dcdc8 -> 8c14761ce


Update README.md to be CLI centric


Project: http://git-wip-us.apache.org/repos/asf/cordova-ios/repo
Commit: http://git-wip-us.apache.org/repos/asf/cordova-ios/commit/8c14761c
Tree: http://git-wip-us.apache.org/repos/asf/cordova-ios/tree/8c14761c
Diff: http://git-wip-us.apache.org/repos/asf/cordova-ios/diff/8c14761c

Branch: refs/heads/master
Commit: 8c14761ce8b8bfe54bc30d4800f38027a18f9eb5
Parents: 57d3dcd
Author: Shazron Abdullah <sh...@apache.org>
Authored: Mon Jul 20 16:03:26 2015 -0700
Committer: Shazron Abdullah <sh...@apache.org>
Committed: Mon Jul 20 16:03:26 2015 -0700

----------------------------------------------------------------------
 README.md | 30 +++++++++++++-----------------
 1 file changed, 13 insertions(+), 17 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cordova-ios/blob/8c14761c/README.md
----------------------------------------------------------------------
diff --git a/README.md b/README.md
index d4adc20..452908b 100644
--- a/README.md
+++ b/README.md
@@ -29,38 +29,34 @@ Cordova iOS is an iOS application library that allows for Cordova-based projects
 
 Requires:
 
-* Xcode 5.x or greater. Download it at [http://developer.apple.com/downloads](http://developer.apple.com/downloads) or the [Mac App Store](http://itunes.apple.com/us/app/xcode/id497799835?mt=12).
+* Xcode 6.x or greater. Download it at [http://developer.apple.com/downloads](http://developer.apple.com/downloads) or the [Mac App Store](http://itunes.apple.com/us/app/xcode/id497799835?mt=12).
 <br />
+* [node.js](https://nodejs.org)
 
 
 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](http://cordova.apache.org/docs/en/edge/guide_cli_index.md.html#The%20Command-line%20Interface) of [http://docs.cordova.io](http://docs.cordova.io)
+Follow the instructions in the [**Command-Line Usage** section](http://cordova.apache.org/docs/en/edge/guide_cli_index.md.html#The%20Command-line%20Interface) of [http://docs.cordova.io](http://docs.cordova.io)
 
-To use a **shared CordovaLib**, add as the first parameter "**--shared**" to the **bin/create** command.
+To use a **shared CordovaLib**, for example in development, link the appropriate cordova-ios platform folder path:
+
+    cordova platform add --link /path/to/cordova-ios
+    
 <br />
 
-Updating a CordovaLib subproject reference in your project
+Updating a Cordova 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.
-<br />
+When you install a new cordova-cli version that comes with a new iOS platform version, from within your project:
 
+    cordova platform update ios
+    
 Tests
 --------------------------------------------------------------------
 
-1. Install [node.js](http://nodejs.org)
-2. Run `npm install`
-3. Run `npm test`
+1. Run `npm install`
+2. Run `npm test`
 
 Futher reading
 -----


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cordova.apache.org
For additional commands, e-mail: commits-help@cordova.apache.org