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 2012/08/03 03:52:48 UTC

docs commit: [CB-1165] Update Plugin Dev Guide for new iOS plugin signature (old one still supported, but deprecated)

Updated Branches:
  refs/heads/master e96662976 -> f7a8f4859


[CB-1165] Update Plugin Dev Guide for new iOS plugin signature (old one still supported, but deprecated)


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

Branch: refs/heads/master
Commit: f7a8f48592d2099ed26ee9a742b9a45ea80412a3
Parents: e966629
Author: Shazron Abdullah <sh...@gmail.com>
Authored: Thu Aug 2 18:52:18 2012 -0700
Committer: Shazron Abdullah <sh...@gmail.com>
Committed: Thu Aug 2 18:52:18 2012 -0700

----------------------------------------------------------------------
 docs/en/edge/guide/getting-started/ios/index.md    |   24 ++++++++++-----
 .../default/img/guide/getting-started/ios/make.png |  Bin 0 -> 53793 bytes
 2 files changed, 16 insertions(+), 8 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-cordova-docs/blob/f7a8f485/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 e78f179..c3d23b1 100644
--- a/docs/en/edge/guide/getting-started/ios/index.md
+++ b/docs/en/edge/guide/getting-started/ios/index.md
@@ -34,21 +34,29 @@ Requirements
 Install the iOS SDK and Apache Cordova
 ----------------------------------
 
-- Install Xcode from the [Mac App Store](http://itunes.apple.com/us/app/xcode/id497799835?mt=12)
-- Install the Xcode Command Line Tools (Xcode Preferences -> Downloads -> Components -> Command Line Tools -> Install).
+- Install **Xcode** from the [Mac App Store](http://itunes.apple.com/us/app/xcode/id497799835?mt=12) or [Apple Developer Downloads](http://developer.apple.com/downloads)
+- Install the **Xcode Command Line Tools** (**Xcode Preferences -> Downloads -> Components -> Command Line Tools -> Install**).
 - Download the latest release of [Apache Cordova](http://phonegap.com/download)
     - extract its contents
     - Apache Cordova iOS is found under `lib/ios`
 
-Setup New Project
------------------
-- Run the installer **'Cordova-2.0.0.pkg'** to completion
-- Copy the **bin** folder (either from the source, or from the .dmg) to a location on your hard drive
 
-    ![](img/guide/getting-started/ios/bin_folder.png)
+Install CordovaLib 
+------------------
+
+1. **Download and extract the Cordova source** to a **permanent folder location** on your hard drive (for example, to ~/Documents/Cordova)
+2. **Quit Xcode** if it is running
+3. Launch **Terminal.app**
+4. Drag the permanent folder location of Cordova (from above) to the **Terminal.app** icon in your Dock, it should launch a new Terminal window
+4. Type in `make` then press **"Enter"**. This will update the **$(CORDOVALIB)** build setting in Xcode to point to the CordovaLib in the permanent folder location above, for Cordova projects to find the CordovaLib project
+
+    ![](img/guide/getting-started/ios/make.png)
+
+Create a New Project
+--------------------
 
 - Launch **Terminal.app**
-- Drag the copied **bin** folder to the **Terminal.app** icon in your Dock, it should launch a new Terminal window
+- Drag the **bin** folder (located in the permanent folder location of Cordova, from the **"Install Cordova"** section above) to the **Terminal.app** icon in your Dock, it should launch a new Terminal window
 - Type in `./create <project_folder_path> <bundle_id> <project_name>` then press **"Enter"**
 
         <project_folder_path> is the path to your new Cordova iOS project (it must be empty if it exists)

http://git-wip-us.apache.org/repos/asf/incubator-cordova-docs/blob/f7a8f485/template/docs/default/img/guide/getting-started/ios/make.png
----------------------------------------------------------------------
diff --git a/template/docs/default/img/guide/getting-started/ios/make.png b/template/docs/default/img/guide/getting-started/ios/make.png
new file mode 100644
index 0000000..78cc848
Binary files /dev/null and b/template/docs/default/img/guide/getting-started/ios/make.png differ