You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by mw...@apache.org on 2013/07/02 23:24:57 UTC

[1/3] docs commit: [CB-3822] Update iOS Getting Started guide.

Updated Branches:
  refs/heads/master 7e38ea0a4 -> a778e4675


[CB-3822] Update iOS Getting Started guide.

Conflicts:

	docs/en/edge/guide/getting-started/ios/index.md


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

Branch: refs/heads/master
Commit: ad38b11867375dec2b318731085a8a2ed245416c
Parents: 7e38ea0
Author: Mike Sierra <le...@gmail.com>
Authored: Fri Jun 21 13:38:10 2013 -0400
Committer: Michael Brooks <mi...@michaelbrooks.ca>
Committed: Tue Jul 2 14:22:40 2013 -0700

----------------------------------------------------------------------
 docs/en/edge/guide/getting-started/ios/index.md | 254 +++++++------------
 1 file changed, 86 insertions(+), 168 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cordova-docs/blob/ad38b118/docs/en/edge/guide/getting-started/ios/index.md
----------------------------------------------------------------------
diff --git a/docs/en/edge/guide/getting-started/ios/index.md b/docs/en/edge/guide/getting-started/ios/index.md
index 0ad73b2..758c46b 100644
--- a/docs/en/edge/guide/getting-started/ios/index.md
+++ b/docs/en/edge/guide/getting-started/ios/index.md
@@ -20,171 +20,133 @@ license: Licensed to the Apache Software Foundation (ASF) under one
 iOS Platform Guide
 ========================
 
-## Introduction ##
+## Requirements and Support
 
-Apache Cordova is a library used to create native mobile applications using Web technologies.  The application is created using HTML, CSS and JavaScript and compiled for each specific platform using the platform native tools.  Cordova provides a standard set of JavaScript APIs to access device features on all supported platforms. This document describes how to get started using Apache Cordova for the iOS platform.
 
-### Requirements ###
-
-- **Intel-based Computer with Mac® OS X® Lion or greater (10.7.4+)**
+- __Intel-based Computer with Mac® OS X® Lion or greater (10.7.4+)__
     The Apple® tools required for building iOS applications run only on the OS X operating system. The version of the development environment required, Xcode® 4.5, runs only on Mac OS X version 10.7 (Lion) or greater.
-- **Xcode 4.5 and iOS 6 SDK**
+- __Xcode 4.5 and iOS 6 SDK__
          To submit apps to the Apple App Store℠, you must use the latest versions of the Apple tools. Currently the latest versions are Xcode 4.5.2 and the iOS 6 SDK (Software Development Kit). The download of Xcode 4.5.2 includes the iOS 6 SDK.
-    - Download from the [App Store](https://itunes.apple.com/us/app/xcode/id497799835?mt=12) (https://itunes.apple.com/us/app/xcode/id497799835?mt=12).
-    - Download from [Apple Developer Downloads](https://developer.apple.com/downloads/index.action) (https://developer.apple.com/downloads/index.action).  __NOTE:__  This link requires Apple Developer registration.
-
-- **Xcode Command Line Tools**
-
-    Cordova uses the command line to create a new application project.  To access the Xcode tools from the command line an additional download is required.  The tools are downloaded from within Xcode.
-    1. Open Xcode
-    2. Select the following via the Xcode Menus:  **Xcode Preferences> Downloads>Command Line Tools**.  This downloads and installs copies of the core command-line tools and system headers into your computer's system folders.
-
-- **iOS Device**
-
-    You can test many of the Cordova features using the iOS simulator installed with the iOS SDK and Xcode, but you need an actual device to fully test all of the device features your applications use before submitting to the App Store.  The device must have at least iOS 5.x installed, the minimum iOS version supported as of Cordova 2.3.  Devices that support at least iOS 5 include all iPad® models, iPhone® 3GS and above, and iPod® Touch 3rd Generation or later. To install apps onto a device, you must also be a member of Apple's [iOS Developer Program](https://developer.apple.com/programs/ios/).  The program costs $99 per year. This platform guide shows how to deploy the application to the iOS simulator, in which case developer program registration is not required.
-
-## Install Cordova
-
-### Download Cordova
-
-Download the latest version of [Apache Cordova](http://www.apache.org/dist/cordova/) from http://www.apache.org/dist/cordova/.  Click on the Download icon and select cordova-x.x.x-src.zip to download to your machine. The download includes the code for all of the Apache Cordova supported platforms.
-### Extract Cordova
-
-To access the code, it needs to be extracted from the archive (.zip) file:
-
-1. Navigate to the folder where you downloaded the code.  Find the version-specific cordova-x.x.x-src.zip file.
-
-2. Using the Finder® app, double-click the file to extract. This creates a directory named `cordova-x.x.x`.
 
-3. Expand this folder and locate the cordova-ios.zip file and double-click to extract it.
+- __iOS Device__
 
-4. The code for iOS is within the cordova-ios directory structure.
+You can test many of the Cordova features using the iOS simulator
+installed with the iOS SDK and Xcode, but you need an actual device to
+fully test all of the device features your applications use before
+submitting to the App Store.  The device must have at least iOS 5.x
+installed, the minimum iOS version supported as of Cordova 2.3.
+Devices that support at least iOS 5 include all iPad® models, iPhone®
+3GS and above, and iPod® Touch 3rd Generation or later. To install
+apps onto a device, you must also be a member of Apple's [iOS
+Developer Program](https://developer.apple.com/programs/ios/).  The
+program costs $99 per year. This Getting Started guide shows how to
+deploy the application to the iOS simulator, in which case developer
+program registration is not required.
 
-## Project Creation
 
-Xcode projects for Cordova are created by invoking a script file via the command line. The following steps explain how to create the necessary directory structure, open and use the Terminal application to create a new project, and execute the create script.
-### Determine Project Location
+## Install the SDK
 
-Determine where on your system to place your application's Xcode
-project files.  This tutorial uses `~/Documents/CordovaXY`, where the
-'X' and 'Y' refer the to Cordova version number.
-
-1. In the Finder, navigate to the `Documents` directory.
-
-2. Create a subdirectory within `Documents` called `CordovaXY`, where the 'X' and 'Y' represent the Cordova version number (23, for example).  You can use a different directory name or location if you wish, but you need to remember it for subsequent steps.
-
-### Open Terminal
-
-1. Open the Terminal application, located by default in the `Applications/Utilities` folder.
-
-3. Use the Finder to navigate to the `cordova-ios` directory from the downloaded and extracted Cordova code. Highlight the `bin` subdirectory as shown:
+    - Download from the [App Store](https://itunes.apple.com/us/app/xcode/id497799835?mt=12) (https://itunes.apple.com/us/app/xcode/id497799835?mt=12).
+    - Download from [Apple Developer Downloads](https://developer.apple.com/downloads/index.action) (https://developer.apple.com/downloads/index.action).  __NOTE:__  This link requires Apple Developer registration.
 
-  ![](img/guide/getting-started/ios/bin_dir_listing.png)
+- __Xcode Command Line Tools__
 
-  __NOTE:__ Your listing varies depending on Cordova's version number.
+    Cordova uses the command line to create a new application project.  To access the Xcode tools from the command line an additional download is required.  The tools are downloaded from within Xcode.
+    1. Open Xcode
+    2. Select the following via the Xcode Menus:  __Xcode Preferences &rarr; Downloads &rarr;Command Line Tools__.  This downloads and installs copies of the core command-line tools and system headers into your computer's system folders.
 
-4. Drag this directory to the open the Terminal icon in the dock.  This opens up a default terminal window with the path set to the `bin` directory.
+## Open a Project in the SDK
 
-### Create New Project
+Using the Finder app, navigate to the location where you created the
+project. This guide uses `~/Documents/CordovaXY/HelloWorld`.
+Double-click the `HelloWorld.xcodeproj` file to open the project in
+Xcode.
 
-#### Command Line Syntax
+Your screen should look similar to:
 
-  1. Determine Required Parameters
+![](img/guide/getting-started/ios/helloworld_project.png)
 
-  Three parameters are required to creating a Cordova project from the command line, in this order:
+## Deploy to Emulator
 
-    1. **project location**
+  1. In the upper-left corner of Xcode, click on the Scheme drop-down list and select the project name, HelloWorld, as the target.
+  2. Click the device section and select an iOS Simulator such as iPhone 6.0 Simulator as shown:
+![](img/guide/getting-started/ios/select_xcode_scheme.png)
 
-      This directory is where the Xcode project and application files are to be located. This tutorial uses `~/Documents/CordovaXY` as the base location (with 'X' and 'Y' representing the Cordova version number) and the `HelloWorld` application name as the project directory.  Since the command creates the final `HelloWorld` directory, it must not already exist.
+  3. Click the __Run__ button in your project window's toolbar to build, deploy and run the application in the simulator.
 
-    2. **package name**
 
-      When submitting apps to the App Store, this must be the reverse domain name App ID that is created via the Apple Provisioning Portal (described in the Deploy to Device section).  The Provisioning Portal is accessible once you have paid for and signed into your iOS Developer Account.   Since you don't need to submit this sample app, this tutorial uses `org.apache.Cordova` plus the `HelloWorld` app name:   `org.apache.cordova.HelloWorld`
-    3. **project name**
 
-      This is the name of the actual project.  Most developers match the project name with the application name, so  in this example it's `HelloWorld`.
-  2. Execute the Command
+## Deploy to Device
 
-  In the terminal app with bin as the current directory, enter the 3 pieces of information via the following command:
-     `./create ~/Documents/CordovaXY/HelloWorld org.apache.cordova.HelloWorld HelloWorld`
+  There are several requirements to deploy to a device. Since this information is not related directly to Cordova, please refer to the _Configuring Development and Distribution Assets_ section of Apple's [Tools Workflow Guide for iOS](http://developer.apple.com/library/ios/#documentation/Xcode/Conceptual/ios_development_workflow/00-About_the_iOS_Application_Development_Workflow/introduction.html#//apple_ref/doc/uid/TP40007959).
 
-  ![](img/guide/getting-started/ios/create.png)
+  - Join the Apple iOS Developer Program
 
-  3. Fix Common Problems
+  - Create a Provisioning Profile within the [iOS Provisioning Portal](https://developer.apple.com/ios/manage/overview/index.action).   You can use the Development Provisioning Assistant within the Provisioning Portal to create and install the profile and certificate for use within Xcode.
 
-      **No Developer Directory Found**
+  - Verify that the Code Signing Identity in the Code Signing sections of the Hello World Xcode project settings has been set with your provisioning profile name.
 
-      The “Error: No developer directory found at /Developer” message is displayed if the create script can not find the location of the command-line tools within Xcode. This can occur if more than one version of Xcode is installed on the system or when upgrading from older versions of Xcode.  The solution is to run the xcode-select command to set the location.  If you have installed Xcode in the default location the command to execute is:
+   Deployment Steps:
 
-            sudo /usr/bin/xcode-select -switch /Applications/Xcode.app/Contents/Developer
+  1. Plug your device into your Mac via the USB Cable.
+  2. Select the Target and device
 
-      See [http://developer.apple.com/library/mac/#documentation/Darwin/Reference/ManPages/man1/xcode-select.1.html](http://developer.apple.com/library/mac/#documentation/Darwin/Reference/ManPages/man1/xcode-select.1.html) for more information on the xcode-select command if you have installed Xcode in a different location.
+    1. In the upper-left corner of the Xcode window, click the Scheme drop-down list and select the project name, HelloWorld, as the target.
+    2. Click the device section and select your device from the list.  If your device is plugged in via the USB but not visible in the device list, click the __Organizer__ button to determine any errors.
 
-#### Optional Features
+  3. Click the __run__ button to build, deploy and run the application on your device.
 
-  - **Additional Parameters**
+## Results
 
-  The default create script copies the necessary common library files from the Cordova distribution directory into your Xcode project directory.  These files appear within the project's `CordovaLib` directory.  Some development organizations prefer that developers reference the common Cordova library files from a fixed location, which helps ensure that all developers use the exact same copy of the CordovaLib code.  To do this, add the `--shared` parameter to the `create` command.  The following command creates a project that references the CordovaLib directory from the iOS directory location in which you run the `create` script:
+  The running HelloWorld app is shown below.  The Device is Ready line should be slowly pulsating.
 
-        ./create --shared ~/Documents/CordovaXY/HelloWorld org.apache.cordova.HelloWorld HelloWorld
-     The Xcode project files are still in the `~/Documents/CordovaXY/HelloWorld` directory, but the CordovaLib files are referenced from the Cordova distribution directory.
-  - **Additional Scripts**
+  ![](img/guide/getting-started/ios/HelloWorldStandard.png)
 
-  Within the cordova-ios/bin directory there is an additional script that changes the location of the CordovaLib directory to refer to a shared location after the project has been created,
 
-         ./update_cordova_subproject path/to/your/project
+## Common Problems
 
-  Most users are satisfied with the default project creation procedure and do not need this additional script. This script uses the location of CordovaLib directory at the same directory level as the bin directory from which it is run as the shared location for CordovaLib. To modify the newly created HelloWorld project to use a shared location for CordovaLib, execute the following command from the `bin` directory:
+  - [Start Developing iOS Apps Today](http://developer.apple.com/library/ios/#referencelibrary/GettingStarted/RoadMapiOS/index.html#//apple_ref/doc/uid/TP40011343) provides a quick overview of steps for developing iOS Apps.
+  - [Member Center home page](https://developer.apple.com/membercenter/index.action) provides links to several iOS technical resources including technical resources, the provisioning portal, distribution guides and community forums.
+  - [Tools Workflow Guide for iOS](http://developer.apple.com/library/ios/#documentation/Xcode/Conceptual/ios_development_workflow/00-About_the_iOS_Application_Development_Workflow/introduction.html#//apple_ref/doc/uid/TP40007959)
+  - [Xcode 4 User Guide](http://developer.apple.com/library/ios/#documentation/ToolsLanguages/Conceptual/Xcode4UserGuide/000-About_Xcode/about.html#//apple_ref/doc/uid/TP40010215)
+  - [Session Videos](https://developer.apple.com/videos/wwdc/2012/) from the Apple World Wide Developer Conference 2012 (WWDC2012)
 
-        ./update_cordova_subproject ~/Documents/CordovaXY/HelloWorld
+~~~
 
-## Running the Application
 
-### Open the Project
 
-  Using the Finder app, navigate to the location where you created the project. This guide uses `~/Documents/CordovaXY/HelloWorld`.  Double-click the `HelloWorld.xcodeproj` file to open the project in Xcode.
 
-  Your screen should look similar to:
 
-![](img/guide/getting-started/ios/helloworld_project.png)
-  __NOTE:__ this screen capture shows a project that was created with the name as HelloWorld23.
-### Deploy to the Simulator
 
-  1. In the upper-left corner of Xcode, click on the Scheme drop-down list and select the project name, HelloWorld, as the target.
-  2. Click the device section and select an iOS Simulator such as iPhone 6.0 Simulator as shown:
-![](img/guide/getting-started/ios/select_xcode_scheme.png)
 
-  3. Click the **Run** button in your project window's toolbar to build, deploy and run the application in the simulator.
+### Building Your Own Applications
 
-### Deploy to the Device
+  __Include Cordova__
 
-#### Requirements
+  All of the code for the sample application is contained within the
+  Xcode project's `www` directory, where the starting page is named
+  `index.html`.  Any page that invokes Cordova APIs must reference the
+  version-specific `cordova-x.x.x.js` file, as shown in the sample
+  `HelloWorld` application's `index.html`:
 
-  There are several requirements to deploy to a device. Since this information is not related directly to Cordova, please refer to the _Configuring Development and Distribution Assets_ section of Apple's [Tools Workflow Guide for iOS](http://developer.apple.com/library/ios/#documentation/Xcode/Conceptual/ios_development_workflow/00-About_the_iOS_Application_Development_Workflow/introduction.html#//apple_ref/doc/uid/TP40007959).
+      <script type="text/javascript" src="cordova-x.x.x.js"></script>
+      <script type="text/javascript" src="js/index.js"></script>
+      <script type="text/javascript">
+          app.initialize();
+      </script>
 
-  - Join the Apple iOS Developer Program
 
-  - Create a Provisioning Profile within the [iOS Provisioning Portal](https://developer.apple.com/ios/manage/overview/index.action).   You can use the Development Provisioning Assistant within the Provisioning Portal to create and install the profile and certificate for use within Xcode.
 
-  - Verify that the Code Signing Identity in the Code Signing sections of the Hello World Xcode project settings has been set with your provisioning profile name.
 
-#### Deployment Steps
 
-  1. Plug your device into your Mac via the USB Cable.
-  2. Select the Target and device
-
-    1. In the upper-left corner of the Xcode window, click the Scheme drop-down list and select the project name, HelloWorld, as the target.
-    2. Click the device section and select your device from the list.  If your device is plugged in via the USB but not visible in the device list, click the **Organizer** button to determine any errors.
 
-  3. Click the **run** button to build, deploy and run the application on your device.
+### Credits
 
-## Results
+  Mac®, OS X®, Apple®, Xcode®, App Store℠, iPad®, iPhone®, iPod® and  Finder® are Trademarks of Apple Inc.
 
-  The running HelloWorld app is shown below.  The Device is Ready line should be slowly pulsating.
+## Common Problems
 
-  ![](img/guide/getting-started/ios/HelloWorldStandard.png)
 
-## Common Problems
 
 ### Deprecation Warnings
 
@@ -238,86 +200,45 @@ references the deprecated invokeString API:
 
   Some users have encountered compilation errors relating to missing headers.  This refers to a problem in the build location and is fixed via Xcode preferences.
 
-  1.  Within the Xcode menus select **Xcode &rarr; Preferences &rarr; Locations**.
+  1.  Within the Xcode menus select __Xcode &rarr; Preferences &rarr; Locations__.
   2. In the __Derived Data__ section click the __Advanced__ button and select __Unique__ as the __Build Location_ as shown:
 ![](img/guide/getting-started/ios/xcode_build_location.png)
 
   This is the default setting for a new Xcode install, but it may be set differently if you upgraded from an older version of Xcode.
 
-## Next Steps
 
-### Building Your Own Applications
 
-  **Include Cordova**
 
-  All of the code for the sample application is contained within the
-  Xcode project's `www` directory, where the starting page is named
-  `index.html`.  Any page that invokes Cordova APIs must reference the
-  version-specific `cordova-x.x.x.js` file, as shown in the sample
-  `HelloWorld` application's `index.html`:
+  3. Fix Common Problems
 
-      <script type="text/javascript" src="cordova-x.x.x.js"></script>
-      <script type="text/javascript" src="js/index.js"></script>
-      <script type="text/javascript">
-          app.initialize();
-      </script>
+      __No Developer Directory Found__
 
-  **Wait for deviceReady Event**
+      The “Error: No developer directory found at /Developer” message is displayed if the create script can not find the location of the command-line tools within Xcode. This can occur if more than one version of Xcode is installed on the system or when upgrading from older versions of Xcode.  The solution is to run the xcode-select command to set the location.  If you have installed Xcode in the default location the command to execute is:
 
-  When loading a page, Cordova’s `deviceReady` event must fire before you can access any of the platform features via the Cordova JavaScript APIs.  Within the sample application this is set up within the app object found within the js/index.js file. The app.initialze() call at the bottom of the `index.html` file (visible in the previous code example) sets in motion the binding of events to receive and respond to the `deviceReady` event.
+            sudo /usr/bin/xcode-select -switch /Applications/Xcode.app/Contents/Developer
 
-  Another common way to initialize a page is to add a `deviceReady` event listener from the body's `onload` event handler as shown below:
+      See [http://developer.apple.com/library/mac/#documentation/Darwin/Reference/ManPages/man1/xcode-select.1.html](http://developer.apple.com/library/mac/#documentation/Darwin/Reference/ManPages/man1/xcode-select.1.html) for more information on the xcode-select command if you have installed Xcode in a different location.
 
-      <head>
-        <script type="text/javascript" src="cordova-x.x.x.js"></script>
-        <script>
-	      function onLoad() {
-	    document.addEventListener(
-		  ‘deviceready’, onDeviceReady, false);
-        }
-        function onDeviceReady() {
-          // do Something!
-          // example: display a Cordova Alert
-          // see docs.cordova.io for full details
-          navigator.notification.alert(
-            'Cordova is ready!',  		// message
-            function() {//do something},  // callback
-            'Congratulations',            // title
-            'Done'             	      // buttonName
-           );
-        }
-        </script>
-        </head>
-        <body onload=”onLoad();”>
-        .....
 
-###Code Your Application
 
-  Replace the sample code in the `www` directory of a new project with the HTML, JavaScript and CSS code for your application.  The name of the initial file to load when the app is launched should be `index.html` (advanced users can change this if necessary).  As demonstrated in the HelloWorld sample application, subdirectories within the `www` directory are permitted.  Note that the `www` directory is readonly, you can not write information to this directory during app execution.  If you need to store information use the Cordova File or Storage APIs.
 
-  You can use many mobile JavaScript frameworks with Cordova  to create the UI and page navigation of your application.  Popular ones include:
+  - __Additional Parameters__
 
-  - JQuery Mobile
-  - Dojo Mobile
-  - Sencha Touch
+  The default create script copies the necessary common library files from the Cordova distribution directory into your Xcode project directory.  These files appear within the project's `CordovaLib` directory.  Some development organizations prefer that developers reference the common Cordova library files from a fixed location, which helps ensure that all developers use the exact same copy of the CordovaLib code.  To do this, add the `--shared` parameter to the `create` command.  The following command creates a project that references the CordovaLib directory from the iOS directory location in which you run the `create` script:
 
-### Modify Project Settings
+        ./create --shared ~/Documents/CordovaXY/HelloWorld org.apache.cordova.HelloWorld HelloWorld
+     The Xcode project files are still in the `~/Documents/CordovaXY/HelloWorld` directory, but the CordovaLib files are referenced from the Cordova distribution directory.
+  - __Additional Scripts__
 
-  There are many additional considerations to make your application unique.  The sample HelloWorld application is set up to run in all iOS environments, iPhone, iPod, and iPad.  You can design an app for a single device type by modifying the build settings within Xcode.
+  Within the cordova-ios/bin directory there is an additional script that changes the location of the CordovaLib directory to refer to a shared location after the project has been created,
 
-  You should customize the application with your own icons and splash screens.  The sample application includes Cordova specific images in the Apple required sizes and resolutions as examples.  The Cordova Specific settings are located in the config.xml file and documented in the Cordova Project Settings Guide. Refer to the Resources section for more Apple specific information about building iOS Apps.
+         ./update_cordova_subproject path/to/your/project
 
-## Resources
+  Most users are satisfied with the default project creation procedure and do not need this additional script. This script uses the location of CordovaLib directory at the same directory level as the bin directory from which it is run as the shared location for CordovaLib. To modify the newly created HelloWorld project to use a shared location for CordovaLib, execute the following command from the `bin` directory:
 
-### Apple
+        ./update_cordova_subproject ~/Documents/CordovaXY/HelloWorld
 
-  Some of these references are within the Apple iOS Developer Reference and require an iOS Developer License.
 
-  - [Start Developing iOS Apps Today](http://developer.apple.com/library/ios/#referencelibrary/GettingStarted/RoadMapiOS/index.html#//apple_ref/doc/uid/TP40011343) provides a quick overview of steps for developing iOS Apps.
-  - [Member Center home page](https://developer.apple.com/membercenter/index.action) provides links to several iOS technical resources including technical resources, the provisioning portal, distribution guides and community forums.
-  - [Tools Workflow Guide for iOS](http://developer.apple.com/library/ios/#documentation/Xcode/Conceptual/ios_development_workflow/00-About_the_iOS_Application_Development_Workflow/introduction.html#//apple_ref/doc/uid/TP40007959)
-  - [Xcode 4 User Guide](http://developer.apple.com/library/ios/#documentation/ToolsLanguages/Conceptual/Xcode4UserGuide/000-About_Xcode/about.html#//apple_ref/doc/uid/TP40010215)
-  - [Session Videos](https://developer.apple.com/videos/wwdc/2012/) from the Apple World Wide Developer Conference 2012 (WWDC2012)
 
 ### Apache Cordova
 
@@ -327,6 +248,3 @@ references the deprecated invokeString API:
   - [PhoneGap google group](https://groups.google.com/forum/?fromgroups=%23!forum/phonegap) to discuss and ask questions about Cordova.  This forum is monitored by Cordova developers as well as users.  When posting please include the platform, device type, Cordova version and as many details as possible about the error or problem.
   - File Cordova bugs at [https://issues.apache.org/jira/browse/CB](https://issues.apache.org/jira/browse/CB)
 
-### Credits
-
-  Mac®, OS X®, Apple®, Xcode®, App Store℠, iPad®, iPhone®, iPod® and  Finder® are Trademarks of Apple Inc.


[2/3] docs commit: [CB-3822] iOS requirements & DSK installation

Posted by mw...@apache.org.
[CB-3822] iOS requirements & DSK installation


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

Branch: refs/heads/master
Commit: a6d1b165b94dea1968792721346463b9637fa61e
Parents: ad38b11
Author: Mike Sierra <le...@gmail.com>
Authored: Mon Jun 24 13:16:02 2013 -0400
Committer: Michael Brooks <mi...@michaelbrooks.ca>
Committed: Tue Jul 2 14:23:12 2013 -0700

----------------------------------------------------------------------
 docs/en/edge/guide/getting-started/ios/index.md | 89 ++++++++++----------
 1 file changed, 44 insertions(+), 45 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cordova-docs/blob/a6d1b165/docs/en/edge/guide/getting-started/ios/index.md
----------------------------------------------------------------------
diff --git a/docs/en/edge/guide/getting-started/ios/index.md b/docs/en/edge/guide/getting-started/ios/index.md
index 758c46b..712080a 100644
--- a/docs/en/edge/guide/getting-started/ios/index.md
+++ b/docs/en/edge/guide/getting-started/ios/index.md
@@ -22,38 +22,39 @@ iOS Platform Guide
 
 ## Requirements and Support
 
-
-- __Intel-based Computer with Mac® OS X® Lion or greater (10.7.4+)__
-    The Apple® tools required for building iOS applications run only on the OS X operating system. The version of the development environment required, Xcode® 4.5, runs only on Mac OS X version 10.7 (Lion) or greater.
-- __Xcode 4.5 and iOS 6 SDK__
-         To submit apps to the Apple App Store℠, you must use the latest versions of the Apple tools. Currently the latest versions are Xcode 4.5.2 and the iOS 6 SDK (Software Development Kit). The download of Xcode 4.5.2 includes the iOS 6 SDK.
-
-- __iOS Device__
+Apple® tools required to build iOS applications run only on the OS X
+operating system on Intel-based Macs. Xcode® 4.5 (the minimum required
+version) runs only on OS X version 10.7 (Lion) or greater, and
+includes the iOS 6 SDK (Software Development Kit).  To submit apps to
+the Apple App Store℠ requires the latest versions of the Apple tools.
 
 You can test many of the Cordova features using the iOS simulator
 installed with the iOS SDK and Xcode, but you need an actual device to
-fully test all of the device features your applications use before
-submitting to the App Store.  The device must have at least iOS 5.x
-installed, the minimum iOS version supported as of Cordova 2.3.
-Devices that support at least iOS 5 include all iPad® models, iPhone®
-3GS and above, and iPod® Touch 3rd Generation or later. To install
-apps onto a device, you must also be a member of Apple's [iOS
-Developer Program](https://developer.apple.com/programs/ios/).  The
-program costs $99 per year. This Getting Started guide shows how to
-deploy the application to the iOS simulator, in which case developer
-program registration is not required.
-
+fully test all of the app's device features before submitting to the
+App Store.  The device must have at least iOS 5.x installed, the
+minimum iOS version supported as of Cordova 2.3.  Supporting devices
+include all iPad® models, iPhone® 3GS and above, and iPod® Touch 3rd
+Generation or later. To install apps onto a device, you must also be a
+member of Apple's
+[iOS Developer Program](https://developer.apple.com/programs/ios/),
+which costs $99 per year. This guide shows how to deploy apps to the
+iOS simulator, for which you don't need to register with the developer
+program.
 
 ## Install the SDK
 
-    - Download from the [App Store](https://itunes.apple.com/us/app/xcode/id497799835?mt=12) (https://itunes.apple.com/us/app/xcode/id497799835?mt=12).
-    - Download from [Apple Developer Downloads](https://developer.apple.com/downloads/index.action) (https://developer.apple.com/downloads/index.action).  __NOTE:__  This link requires Apple Developer registration.
+There are two ways to download Xcode:
+
+* from the [App Store](https://itunes.apple.com/us/app/xcode/id497799835?mt=12),
+  available by searching for "Xcode" in the __App Store__ application.
 
-- __Xcode Command Line Tools__
+* from [Apple Developer Downloads](https://developer.apple.com/downloads/index.action),
+  which requires registration as an Apple Developer.
 
-    Cordova uses the command line to create a new application project.  To access the Xcode tools from the command line an additional download is required.  The tools are downloaded from within Xcode.
-    1. Open Xcode
-    2. Select the following via the Xcode Menus:  __Xcode Preferences &rarr; Downloads &rarr;Command Line Tools__.  This downloads and installs copies of the core command-line tools and system headers into your computer's system folders.
+Once Xcode is installed, several command-line tools need to be enabled
+for Cordova to run. From the __Xcode__ menu, select __Preferences__,
+then the __Downloads__ tab. Press the __Install__ button next to the
+__Command Line Tools__ listing.
 
 ## Open a Project in the SDK
 
@@ -96,13 +97,8 @@ Your screen should look similar to:
 
   3. Click the __run__ button to build, deploy and run the application on your device.
 
-## Results
-
-  The running HelloWorld app is shown below.  The Device is Ready line should be slowly pulsating.
-
   ![](img/guide/getting-started/ios/HelloWorldStandard.png)
 
-
 ## Common Problems
 
   - [Start Developing iOS Apps Today](http://developer.apple.com/library/ios/#referencelibrary/GettingStarted/RoadMapiOS/index.html#//apple_ref/doc/uid/TP40011343) provides a quick overview of steps for developing iOS Apps.
@@ -144,29 +140,30 @@ Your screen should look similar to:
 
   Mac®, OS X®, Apple®, Xcode®, App Store℠, iPad®, iPhone®, iPod® and  Finder® are Trademarks of Apple Inc.
 
-## Common Problems
-
 
 
-### Deprecation Warnings
+## Common Problems
 
-When an application programming interface (API) is changed or replaced
-by another API, it is marked as _deprecated_.  The API still works in
-the near term, but is eventually removed.  Some of these deprecated
-interfaces are reflected in Apache Cordova, and Xcode issues warnings
-about them when you build and deploy an application.  The Xcode
-warning about the ‘invokeString’ method concerns functionality that
-launches the app from a custom URL. While the mechanism to load from a
-custom URL has changed, this code is included to provide backwards
-functionality for apps created with older versions of Cordova.  The
-sample app does not use this functionality, so these warnings can be
-ignored.
+__Deprecation Warnings:__ When an application programming interface
+(API) is changed or replaced by another API, it is marked as
+_deprecated_.  The API still works in the near term, but is eventually
+removed.  Some of these deprecated interfaces are reflected in Apache
+Cordova, and Xcode issues warnings about them when you build and
+deploy an application.  The Xcode warning about the ‘invokeString’
+method concerns functionality that launches the app from a custom
+URL. While the mechanism to load from a custom URL has changed, this
+code is included to provide backwards functionality for apps created
+with older versions of Cordova.  The sample app does not use this
+functionality, so these warnings can be ignored.
 
 If you wish to remove the warnings you can remove the code that
 references the deprecated invokeString API:
 
-  1. Edit the `Classes/MainViewController.m` file.
-  2. Find and comment out the following code by surrounding it with the begin, /*,  and end, */, comment characters as highlighted in the code snippet below.
+1. Edit the `Classes/MainViewController.m` file.
+
+2. Find and comment out the following code by surrounding it with the
+   begin, /*, and end, */, comment characters as highlighted in the
+   code snippet below.
 
         (void)webViewDidFinishLoad:(UIWebView*)theWebView
         {
@@ -186,6 +183,7 @@ references the deprecated invokeString API:
         }
 
   3. Press Command s to save the file.
+
   4. Navigate to the AppViewDelegate.m file in the Classes Folder.
 
   5. Comment out the following line by placing a double slash at the beginning of line 73 as shown below:
@@ -201,6 +199,7 @@ references the deprecated invokeString API:
   Some users have encountered compilation errors relating to missing headers.  This refers to a problem in the build location and is fixed via Xcode preferences.
 
   1.  Within the Xcode menus select __Xcode &rarr; Preferences &rarr; Locations__.
+
   2. In the __Derived Data__ section click the __Advanced__ button and select __Unique__ as the __Build Location_ as shown:
 ![](img/guide/getting-started/ios/xcode_build_location.png)
 


[3/3] docs commit: [CB-3822] iOS common problems

Posted by mw...@apache.org.
[CB-3822] iOS common problems


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

Branch: refs/heads/master
Commit: a778e46757b379e07dc91a77f553855b2489d3fd
Parents: a6d1b16
Author: Mike Sierra <le...@gmail.com>
Authored: Mon Jun 24 14:56:03 2013 -0400
Committer: Michael Brooks <mi...@michaelbrooks.ca>
Committed: Tue Jul 2 14:23:20 2013 -0700

----------------------------------------------------------------------
 docs/en/edge/guide/getting-started/ios/index.md | 203 ++++++++-----------
 .../getting-started/ios/HelloWorldStandard.png  | Bin 121036 -> 102066 bytes
 .../getting-started/ios/helloworld_project.png  | Bin 222476 -> 220325 bytes
 .../ios/xcode_build_location.png                | Bin 146842 -> 129533 bytes
 4 files changed, 82 insertions(+), 121 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cordova-docs/blob/a778e467/docs/en/edge/guide/getting-started/ios/index.md
----------------------------------------------------------------------
diff --git a/docs/en/edge/guide/getting-started/ios/index.md b/docs/en/edge/guide/getting-started/ios/index.md
index 712080a..b326712 100644
--- a/docs/en/edge/guide/getting-started/ios/index.md
+++ b/docs/en/edge/guide/getting-started/ios/index.md
@@ -58,89 +58,72 @@ __Command Line Tools__ listing.
 
 ## Open a Project in the SDK
 
-Using the Finder app, navigate to the location where you created the
-project. This guide uses `~/Documents/CordovaXY/HelloWorld`.
-Double-click the `HelloWorld.xcodeproj` file to open the project in
-Xcode.
+Use the `cordova` utility to set up a new project, as described in The
+Cordova Command-line Interface. For example, in a source-code directory:
 
-Your screen should look similar to:
+        $ cordova create hello com.example.hello "Hello World"
+        $ cd hello
+        $ cordova platform add android
+        $ 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:
 
 ![](img/guide/getting-started/ios/helloworld_project.png)
 
 ## Deploy to Emulator
 
-  1. In the upper-left corner of Xcode, click on the Scheme drop-down list and select the project name, HelloWorld, as the target.
-  2. Click the device section and select an iOS Simulator such as iPhone 6.0 Simulator as shown:
-![](img/guide/getting-started/ios/select_xcode_scheme.png)
-
-  3. Click the __Run__ button in your project window's toolbar to build, deploy and run the application in the simulator.
-
-
-
-## Deploy to Device
-
-  There are several requirements to deploy to a device. Since this information is not related directly to Cordova, please refer to the _Configuring Development and Distribution Assets_ section of Apple's [Tools Workflow Guide for iOS](http://developer.apple.com/library/ios/#documentation/Xcode/Conceptual/ios_development_workflow/00-About_the_iOS_Application_Development_Workflow/introduction.html#//apple_ref/doc/uid/TP40007959).
-
-  - Join the Apple iOS Developer Program
-
-  - Create a Provisioning Profile within the [iOS Provisioning Portal](https://developer.apple.com/ios/manage/overview/index.action).   You can use the Development Provisioning Assistant within the Provisioning Portal to create and install the profile and certificate for use within Xcode.
-
-  - Verify that the Code Signing Identity in the Code Signing sections of the Hello World Xcode project settings has been set with your provisioning profile name.
-
-   Deployment Steps:
-
-  1. Plug your device into your Mac via the USB Cable.
-  2. Select the Target and device
-
-    1. In the upper-left corner of the Xcode window, click the Scheme drop-down list and select the project name, HelloWorld, as the target.
-    2. Click the device section and select your device from the list.  If your device is plugged in via the USB but not visible in the device list, click the __Organizer__ button to determine any errors.
-
-  3. Click the __run__ button to build, deploy and run the application on your device.
-
-  ![](img/guide/getting-started/ios/HelloWorldStandard.png)
-
-## Common Problems
-
-  - [Start Developing iOS Apps Today](http://developer.apple.com/library/ios/#referencelibrary/GettingStarted/RoadMapiOS/index.html#//apple_ref/doc/uid/TP40011343) provides a quick overview of steps for developing iOS Apps.
-  - [Member Center home page](https://developer.apple.com/membercenter/index.action) provides links to several iOS technical resources including technical resources, the provisioning portal, distribution guides and community forums.
-  - [Tools Workflow Guide for iOS](http://developer.apple.com/library/ios/#documentation/Xcode/Conceptual/ios_development_workflow/00-About_the_iOS_Application_Development_Workflow/introduction.html#//apple_ref/doc/uid/TP40007959)
-  - [Xcode 4 User Guide](http://developer.apple.com/library/ios/#documentation/ToolsLanguages/Conceptual/Xcode4UserGuide/000-About_Xcode/about.html#//apple_ref/doc/uid/TP40010215)
-  - [Session Videos](https://developer.apple.com/videos/wwdc/2012/) from the Apple World Wide Developer Conference 2012 (WWDC2012)
-
-~~~
-
-
+To preview the app in the iOS emulator:
 
+1. Make sure the _.xcodeproj_ file is selected in the left panel.
 
+2. Select the __hello__ app in the panel immediately to the right.
 
+3. Select the intended device from the toolbar's __Scheme__ menu, such
+   as the iPhone 6.0 Simulator as highlighted here:
 
+   ![](img/guide/getting-started/ios/select_xcode_scheme.png)
 
-### Building Your Own Applications
+4. Press the __Run__ button that appears in the same toolbar to the
+   left of the __Scheme__. That builds, deploys and runs the
+   application in the emulator. A separate emulator application opens
+   to display the app:
 
-  __Include Cordova__
+   ![](img/guide/getting-started/ios/HelloWorldStandard.png)
 
-  All of the code for the sample application is contained within the
-  Xcode project's `www` directory, where the starting page is named
-  `index.html`.  Any page that invokes Cordova APIs must reference the
-  version-specific `cordova-x.x.x.js` file, as shown in the sample
-  `HelloWorld` application's `index.html`:
-
-      <script type="text/javascript" src="cordova-x.x.x.js"></script>
-      <script type="text/javascript" src="js/index.js"></script>
-      <script type="text/javascript">
-          app.initialize();
-      </script>
+## Deploy to Device
 
+For details about various requirements to deploy to a device, refer
+to the _Configuring Development and Distribution Assets_ section of
+Apple's
+[Tools Workflow Guide for iOS](http://developer.apple.com/library/ios/#documentation/Xcode/Conceptual/ios_development_workflow/00-About_the_iOS_Application_Development_Workflow/introduction.html#//apple_ref/doc/uid/TP40007959).
+Briefly, you need to do the following before deploying:
 
+1. Join the Apple iOS Developer Program.
 
+2. Create a _Provisioning Profile_ within the
+   [iOS Provisioning Portal](https://developer.apple.com/ios/manage/overview/index.action).
+   You can use its _Development Provisioning Assistant_ to create and
+   install the profile and certificate Xcode requires.
 
+3. Verify that the _Code Signing_ section's _Code Signing Identity_
+   within the project settings is set to your provisioning profile
+   name.
 
+To deploy to the device:
 
-### Credits
+1. Use the USB cable to plug the device into your Mac.
 
-  Mac®, OS X®, Apple®, Xcode®, App Store℠, iPad®, iPhone®, iPod® and  Finder® are Trademarks of Apple Inc.
+2. Select the name of the project in the Xcode window's __Scheme__
+   drop-down list.
 
+3. Select your device from the __Device__ drop-down list. If it is
+   plugged in via USB but still does not appear, press the
+   __Organizer__ button to resolve any errors.
 
+4. Press the __Run__ button to build, deploy and run the application
+   on your device.
 
 ## Common Problems
 
@@ -149,21 +132,19 @@ __Deprecation Warnings:__ When an application programming interface
 _deprecated_.  The API still works in the near term, but is eventually
 removed.  Some of these deprecated interfaces are reflected in Apache
 Cordova, and Xcode issues warnings about them when you build and
-deploy an application.  The Xcode warning about the ‘invokeString’
-method concerns functionality that launches the app from a custom
-URL. While the mechanism to load from a custom URL has changed, this
-code is included to provide backwards functionality for apps created
-with older versions of Cordova.  The sample app does not use this
-functionality, so these warnings can be ignored.
-
-If you wish to remove the warnings you can remove the code that
-references the deprecated invokeString API:
+deploy an application.
 
-1. Edit the `Classes/MainViewController.m` file.
+Xcode's warning about the `invokeString` method concerns functionality
+that launches an app from a custom URL. While the mechanism to load
+from a custom URL has changed, this code is still present to provide
+backwards functionality for apps created with older versions of
+Cordova.  The sample app does not use this functionality, so these
+warnings can be ignored.  To prevent these warnings from appearing,
+remove the code that references the deprecated invokeString API:
 
-2. Find and comment out the following code by surrounding it with the
-   begin, /*, and end, */, comment characters as highlighted in the
-   code snippet below.
+* Edit the _Classes/MainViewController.m_ file, surround the following
+  block of code with `/*` and `*/` comments as shown below, then type
+  __Command-s__ to save the file:
 
         (void)webViewDidFinishLoad:(UIWebView*)theWebView
         {
@@ -182,68 +163,48 @@ references the deprecated invokeString API:
         return [super webViewDidFinishLoad:theWebView];
         }
 
-  3. Press Command s to save the file.
-
-  4. Navigate to the AppViewDelegate.m file in the Classes Folder.
-
-  5. Comment out the following line by placing a double slash at the beginning of line 73 as shown below:
+* Edit the _Classes/AppViewDelegate.m_ file, comment out the following
+  line by inserting a double slash as shown below, then type
+  __Command-s__ to save the file:
 
         //self.viewController.invokeString = invokeString;
 
-  6. Press Command-s to save the file.
-
-  7. Press Command-b to rebuild the project and eliminate the warnings.
-
-### Missing Headers
-
-  Some users have encountered compilation errors relating to missing headers.  This refers to a problem in the build location and is fixed via Xcode preferences.
-
-  1.  Within the Xcode menus select __Xcode &rarr; Preferences &rarr; Locations__.
-
-  2. In the __Derived Data__ section click the __Advanced__ button and select __Unique__ as the __Build Location_ as shown:
-![](img/guide/getting-started/ios/xcode_build_location.png)
-
-  This is the default setting for a new Xcode install, but it may be set differently if you upgraded from an older version of Xcode.
-
-
-
-
-  3. Fix Common Problems
-
-      __No Developer Directory Found__
-
-      The “Error: No developer directory found at /Developer” message is displayed if the create script can not find the location of the command-line tools within Xcode. This can occur if more than one version of Xcode is installed on the system or when upgrading from older versions of Xcode.  The solution is to run the xcode-select command to set the location.  If you have installed Xcode in the default location the command to execute is:
-
-            sudo /usr/bin/xcode-select -switch /Applications/Xcode.app/Contents/Developer
-
-      See [http://developer.apple.com/library/mac/#documentation/Darwin/Reference/ManPages/man1/xcode-select.1.html](http://developer.apple.com/library/mac/#documentation/Darwin/Reference/ManPages/man1/xcode-select.1.html) for more information on the xcode-select command if you have installed Xcode in a different location.
-
+* Press __Command-b__ to rebuild the project and eliminate the warnings.
 
+<!-- Does this fix only last until the next "cordova prepare"? -->
 
+__Missing Headers__: Compilation errors relating to missing headers
+result from problems with the build location, and can be fixed 
+via Xcode preferences:
 
-  - __Additional Parameters__
+1. Select __Xcode &rarr; Preferences &rarr; Locations__.
 
-  The default create script copies the necessary common library files from the Cordova distribution directory into your Xcode project directory.  These files appear within the project's `CordovaLib` directory.  Some development organizations prefer that developers reference the common Cordova library files from a fixed location, which helps ensure that all developers use the exact same copy of the CordovaLib code.  To do this, add the `--shared` parameter to the `create` command.  The following command creates a project that references the CordovaLib directory from the iOS directory location in which you run the `create` script:
+2. In the __Derived Data__ section, press the __Advanced__ button and
+   select __Unique__ as the __Build Location__ as shown here:
 
-        ./create --shared ~/Documents/CordovaXY/HelloWorld org.apache.cordova.HelloWorld HelloWorld
-     The Xcode project files are still in the `~/Documents/CordovaXY/HelloWorld` directory, but the CordovaLib files are referenced from the Cordova distribution directory.
-  - __Additional Scripts__
+   ![](img/guide/getting-started/ios/xcode_build_location.png)
 
-  Within the cordova-ios/bin directory there is an additional script that changes the location of the CordovaLib directory to refer to a shared location after the project has been created,
+This is the default setting for a new Xcode install, but it may be set
+differently following an upgrade from an older version of Xcode.
 
-         ./update_cordova_subproject path/to/your/project
+For further information, consult Apple's documentation:
 
-  Most users are satisfied with the default project creation procedure and do not need this additional script. This script uses the location of CordovaLib directory at the same directory level as the bin directory from which it is run as the shared location for CordovaLib. To modify the newly created HelloWorld project to use a shared location for CordovaLib, execute the following command from the `bin` directory:
+*  [Start Developing iOS Apps Today](http://developer.apple.com/library/ios/#referencelibrary/GettingStarted/RoadMapiOS/index.html#//apple_ref/doc/uid/TP40011343) provides a quick overview of steps for developing iOS Apps.
 
-        ./update_cordova_subproject ~/Documents/CordovaXY/HelloWorld
+* [Member Center home page](https://developer.apple.com/membercenter/index.action)
+   provides links to several iOS technical resources including
+   technical resources, the provisioning portal, distribution guides
+   and community forums.
 
+* [Tools Workflow Guide for iOS](http://developer.apple.com/library/ios/#documentation/Xcode/Conceptual/ios_development_workflow/00-About_the_iOS_Application_Development_Workflow/introduction.html#//apple_ref/doc/uid/TP40007959)
 
+* [Xcode 4 User Guide](http://developer.apple.com/library/ios/#documentation/ToolsLanguages/Conceptual/Xcode4UserGuide/000-About_Xcode/about.html#//apple_ref/doc/uid/TP40010215)
 
-### Apache Cordova
+* [Session Videos](https://developer.apple.com/videos/wwdc/2012/) from
+  the Apple World Wide Developer Conference 2012 (WWDC2012)
 
-  The [Apache Cordova home page](http://cordova.apache.org/) contains all of the links below and more.
+* The [xcode-select command](http://developer.apple.com/library/mac/#documentation/Darwin/Reference/ManPages/man1/xcode-select.1.html),
+  which helps specify the correct version of Xcode if more than one is installed.
 
-  - Cordova API documentation is available at [http://docs.cordova.io](http://docs.cordova.io)
-  - [PhoneGap google group](https://groups.google.com/forum/?fromgroups=%23!forum/phonegap) to discuss and ask questions about Cordova.  This forum is monitored by Cordova developers as well as users.  When posting please include the platform, device type, Cordova version and as many details as possible about the error or problem.
-  - File Cordova bugs at [https://issues.apache.org/jira/browse/CB](https://issues.apache.org/jira/browse/CB)
+(Mac®, OS X®, Apple®, Xcode®, App Store℠, iPad®, iPhone®, iPod® and  Finder® are Trademarks of Apple Inc.)
 

http://git-wip-us.apache.org/repos/asf/cordova-docs/blob/a778e467/template/docs/default/img/guide/getting-started/ios/HelloWorldStandard.png
----------------------------------------------------------------------
diff --git a/template/docs/default/img/guide/getting-started/ios/HelloWorldStandard.png b/template/docs/default/img/guide/getting-started/ios/HelloWorldStandard.png
index 1bd542b..3e6c0af 100644
Binary files a/template/docs/default/img/guide/getting-started/ios/HelloWorldStandard.png and b/template/docs/default/img/guide/getting-started/ios/HelloWorldStandard.png differ

http://git-wip-us.apache.org/repos/asf/cordova-docs/blob/a778e467/template/docs/default/img/guide/getting-started/ios/helloworld_project.png
----------------------------------------------------------------------
diff --git a/template/docs/default/img/guide/getting-started/ios/helloworld_project.png b/template/docs/default/img/guide/getting-started/ios/helloworld_project.png
index c69fd14..71434b3 100644
Binary files a/template/docs/default/img/guide/getting-started/ios/helloworld_project.png and b/template/docs/default/img/guide/getting-started/ios/helloworld_project.png differ

http://git-wip-us.apache.org/repos/asf/cordova-docs/blob/a778e467/template/docs/default/img/guide/getting-started/ios/xcode_build_location.png
----------------------------------------------------------------------
diff --git a/template/docs/default/img/guide/getting-started/ios/xcode_build_location.png b/template/docs/default/img/guide/getting-started/ios/xcode_build_location.png
index 9d66dcf..8fbb1b5 100644
Binary files a/template/docs/default/img/guide/getting-started/ios/xcode_build_location.png and b/template/docs/default/img/guide/getting-started/ios/xcode_build_location.png differ