cordova-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject [05/18] docs commit: CB-8822 Ensure iOS Platform Guide is actual
Date Fri, 24 Apr 2015 01:30:02 GMT
CB-8822 Ensure iOS Platform Guide is actual

* Added ios-sim and ios-deploy requirements and added installation instructions
* Added instructions to run/deploy ios app from command-line


Branch: refs/heads/CB-8860cordova-docs
Commit: dab4dfd66da1feedd5ce17836fb6f8dc77f3f86f
Parents: 39dfc3f
Author: sgrebnov <>
Authored: Mon Apr 13 11:26:10 2015 -0700
Committer: sgrebnov <>
Committed: Sat Apr 18 21:19:25 2015 -0700

 docs/en/edge/guide/platforms/ios/ | 39 ++++++++++++++++++++++----
 1 file changed, 34 insertions(+), 5 deletions(-)
diff --git a/docs/en/edge/guide/platforms/ios/ b/docs/en/edge/guide/platforms/ios/
index 7ce66c2..ff8964b 100644
--- a/docs/en/edge/guide/platforms/ios/
+++ b/docs/en/edge/guide/platforms/ios/
@@ -54,6 +54,10 @@ which costs $99 per year. This guide shows how to deploy apps to the
 iOS emulator, for which you don't need to register with the developer
+The [ios-sim]( and 
+[ios-deploy]( tools - allows you
+to launch iOS apps into the iOS Simulator and iOS Device from the command-line.
 ## Install the SDK
 There are two ways to download Xcode:
@@ -69,7 +73,14 @@ for Cordova to run. From the __Xcode__ menu, select __Preferences__,
 then the __Downloads__ tab. From the __Components__ panel, press the
 __Install__ button next to the __Command Line Tools__ listing.
-## Open a Project in the SDK
+## Install Deploy Tools
+Run from comman-line terminal:
+        $ npm install -g ios-sim
+        $ npm install -g ios-deploy
+## Create a New Project
 Use the `cordova` utility to set up a new project, as described in The
 Cordova The Command-Line Interface. For example, in a source-code directory:
@@ -79,9 +90,27 @@ Cordova The Command-Line Interface. For example, in a source-code directory:
         $ cordova platform add ios
         $ cordova prepare              # or "cordova build"
-Once created, you can open it from within Xcode. Double-click to open
-the `hello/platforms/ios/hello.xcodeproj` file.  The screen should
-look like this:
+## Deploy the app
+To deploy the app on a connected iOS device:
+        $ cordova run ios --device
+To deploy the app on a default iOS emulator:
+        $ cordova emulate ios
+You can use __cordova run ios --list__ to see all available targets and 
+__cordova run ios --target=target_name__ to run application on a specific 
+device or emulator (for example,  `cordova run ios --target="iPhone-6"`).
+You can also use __cordova run --help__ to see additional build and run
+## Open a Project in the SDK
+Once ios platform is added to your project, you can open it from 
+within Xcode. Double-click to open the `hello/platforms/ios/hello.xcodeproj`
+file. The screen should look like this:
@@ -219,7 +248,7 @@ For further information, consult Apple's documentation:
 * [Tools Workflow Guide for iOS](
-* [Xcode 4 User Guide](
+* [Xcode User Guide](
 * [Session Videos]( from
   the Apple World Wide Developer Conference 2012 (WWDC2012)

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message