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/02 02:26:01 UTC

docs commit: [CB-1172] Update Upgrading Guide for 2.0.0 for missing steps

Updated Branches:
  refs/heads/master 8b8ae8a11 -> bb33fed8a


[CB-1172] Update Upgrading Guide for 2.0.0 for missing steps


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/bb33fed8
Tree: http://git-wip-us.apache.org/repos/asf/incubator-cordova-docs/tree/bb33fed8
Diff: http://git-wip-us.apache.org/repos/asf/incubator-cordova-docs/diff/bb33fed8

Branch: refs/heads/master
Commit: bb33fed8a5bdf02ebf2aa3c865b964619574348b
Parents: 8b8ae8a
Author: shazron <sh...@gmail.com>
Authored: Wed Aug 1 17:25:55 2012 -0700
Committer: shazron <sh...@gmail.com>
Committed: Wed Aug 1 17:25:55 2012 -0700

----------------------------------------------------------------------
 docs/en/edge/guide/upgrading/ios/index.md |   23 +++++++++++++++--------
 1 files changed, 15 insertions(+), 8 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-cordova-docs/blob/bb33fed8/docs/en/edge/guide/upgrading/ios/index.md
----------------------------------------------------------------------
diff --git a/docs/en/edge/guide/upgrading/ios/index.md b/docs/en/edge/guide/upgrading/ios/index.md
index 537bfd1..8ef3897 100644
--- a/docs/en/edge/guide/upgrading/ios/index.md
+++ b/docs/en/edge/guide/upgrading/ios/index.md
@@ -27,7 +27,7 @@ Please note that **Xcode 4 is required**. To submit to the Apple App Store, you
 1. **Download and extract the Cordova 2.1.0 source** to a **permanent folder location** on your hard drive (say to ~/Documents/Cordova-2.1.0)
 2. **Quit Xcode** if it is running.
 3. **Navigate** to the directory where you put the downloaded source above, using **Terminal.app**.
-4. Type **make** and press **Enter**. This will update the $(CORDOVALIB) build setting in Xcode to point to the CordovaLib in the permanent folder location above.
+4. Type **make** and press **Enter**. This will update the **$(CORDOVALIB)** build setting in Xcode to point to the CordovaLib in the permanent folder location above.
 5. [**Create a new project**](guide_command-line_index.md.html#Command-Line%20Usage_ios) from the command-line tools - you will have to grab the assets from this new project
 6. **Copy** the **www/cordova-2.1.0.js** file from the new project into your **www** folder, and delete your **www/cordova-2.0.0.js** file
 7. **Update** the Cordova script reference in your **www/index.html** file (and any other files that contain the script reference) to point to the new **cordova-2.1.0.js** file
@@ -75,15 +75,22 @@ Please note that **Xcode 4 is required**. To submit to the Apple App Store, you
 27. Select the **"VERSION"** file that you just dragged in a previous step
 28. Press the key combination **Option-Command-1** to show the **File Inspector** (or menuitem **View -> Utilities -> Show File Inspector**)
 29. Choose **"Relative to CORDOVALIB"** in the **File Inspector** for the drop-down menu for **Location**
-30. **Build** your project, it should compile and link with **no issues**.
-31. **Select your project** from the **Scheme** drop-down, and then select **"iPhone 5.1 Simulator"**
-32. Select the **Run** button
+30. Set the Xcode preference **"Xcode Preferences -> Locations -> Derived Data -> Advanced…"** to **"Unique"** (this is so the unified headers can be found)
+31. Select the **project icon** in the Project Navigator, select your **Target**, then select the **"Build Settings"** tab
+32. Search for **"Header Search Paths"**. For that setting, add these three values below (with quotes):
 
-**NOTE 1:**<br /> 
-If your project is **not working** as expected in the Simulator, please **take a note of any errors** in the **console log in Xcode** for clues.
+        "$(TARGET_BUILD_DIR)/usr/local/lib/include"
+    
+        "$(OBJROOT)/UninstalledProducts/include"
+    
+        "$(BUILT_PRODUCTS_DIR)"
 
-**NOTE 2:**<br /> 
-For the **unified #import headers** to work, the build products should **build into the same build directory**. You may need to set the preference **"Xcode Preferences -> Locations -> Derived Data -> Advanced…"** to **"Unique"**
+33. **Build** your project, it should compile and link with **no issues**.
+34. **Select your project** from the **Scheme** drop-down, and then select **"iPhone 5.1 Simulator"**
+35. Select the **Run** button
+
+**NOTE:**<br /> 
+If your project is **not working** as expected in the Simulator, please **take a note of any errors** in the **console log in Xcode** for clues.
 
 ## Upgrading Cordova 1.8.x projects to 1.9.0 ##