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 2013/07/17 01:56:13 UTC

docs commit: [CB-4222] Update Upgrading Guide for 2.9.0 -> 3.0.0 for iOS

Updated Branches:
  refs/heads/master bcc163098 -> 730368093


[CB-4222] Update Upgrading Guide for 2.9.0 -> 3.0.0 for iOS


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

Branch: refs/heads/master
Commit: 730368093777249669f3d3e56259d3fe43e4d957
Parents: bcc1630
Author: Shazron Abdullah <sh...@apache.org>
Authored: Tue Jul 16 16:56:06 2013 -0700
Committer: Shazron Abdullah <sh...@apache.org>
Committed: Tue Jul 16 16:56:06 2013 -0700

----------------------------------------------------------------------
 docs/en/edge/guide/platforms/ios/upgrading.md | 13 +++++++++++++
 1 file changed, 13 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cordova-docs/blob/73036809/docs/en/edge/guide/platforms/ios/upgrading.md
----------------------------------------------------------------------
diff --git a/docs/en/edge/guide/platforms/ios/upgrading.md b/docs/en/edge/guide/platforms/ios/upgrading.md
index cc0818f..4647e3d 100644
--- a/docs/en/edge/guide/platforms/ios/upgrading.md
+++ b/docs/en/edge/guide/platforms/ios/upgrading.md
@@ -28,6 +28,19 @@ version of the CLI.
 
 Please note that **Xcode 4.5 is required**. To submit to the Apple App Store, you must use the latest shipped version of the iOS SDK, which is iOS 6. The iOS 6 SDK requires Xcode 4.5.
 
+## Upgrading 2.9.0 projects to 3.0.0 ##
+
+1. **Download and extract the Cordova 3.0.0 source** to a **permanent folder location** on your hard drive (say to ~/Documents/Cordova-3.0.0)
+2. **Quit Xcode** if it is running.
+3. **Navigate** to the directory where you put the downloaded source above, using **Terminal.app**.
+4. **Create a new project**, as described in iOS Command-line Tools. You need the assets from this new project.
+5. **Copy** the **www/cordova.js** (note that it does not have a version suffix anymore, the version is in the file itself in the header) file from the new project into your **www** folder, and delete your **www/cordova.js** file
+6. **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.js** file
+7. Delete your **"CordovaLib"** folder, and copy the **"CordovaLib"** folder from the new project into your project's root folder
+
+NOTE: Starting with Cordova 3.0.0, projects do not come with any plugins, you will have to install the ones you require for your project using the `plugman` CLI utility - see the Core Plugin Install Guide.
+
+
 ## Upgrading 2.8.0 projects to 2.9.0 ##
 
 1. **Download and extract the Cordova 2.9.0 source** to a **permanent folder location** on your hard drive (say to ~/Documents/Cordova-2.9.0)