You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by fi...@apache.org on 2012/07/12 23:13:25 UTC

docs commit: [CB-1053] Added ios 1.9 -> 2.0 migration guide (and referenced the need to add the Device plugin to the Cordova.plist file)

Updated Branches:
  refs/heads/master 75452b86d -> f028a9eb1


[CB-1053] Added ios 1.9 -> 2.0 migration guide (and referenced the need to add the Device plugin to the Cordova.plist file)


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

Branch: refs/heads/master
Commit: f028a9eb1372f1db5ece51ac937957c462d356a2
Parents: 75452b8
Author: Fil Maj <ma...@gmail.com>
Authored: Thu Jul 12 14:15:45 2012 -0700
Committer: Fil Maj <ma...@gmail.com>
Committed: Thu Jul 12 14:15:45 2012 -0700

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


http://git-wip-us.apache.org/repos/asf/incubator-cordova-docs/blob/f028a9eb/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 0e1a6bf..1e30bad 100644
--- a/docs/en/edge/guide/upgrading/ios/index.md
+++ b/docs/en/edge/guide/upgrading/ios/index.md
@@ -22,6 +22,15 @@ Upgrading Cordova iOS
 
 Please note that **Xcode 4 is required**. To submit to the Apple App Store, you must use the latest shipped version of the iOS SDK, which is iOS 5.1. The iOS 5.1 SDK requires Xcode 4.
 
+## Upgrading Cordova 1.9.0 projects to 2.0.0 ##
+
+1. **Install** Cordova 2.0.0
+2. **Create a new project** - you will have to grab assets from this new project
+3. **Copy** the **www/cordova-2.0.0.js** file from the new project into your **www** folder, and delete your **www/cordova-1.9.0.js** file
+4. **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.0.0.js** file
+5. **Add** a new entry under **Plugins** in your **Cordova.plist** file - key is **Device** and the value is **CDVDevice**
+
+
 ## Upgrading Cordova 1.8.x projects to 1.9.0 ##
 
 1. **Install** Cordova 1.9.0
@@ -214,4 +223,4 @@ If you intend on using the **Capture API**, you will need the new **iPad retina-
 6. **Copy** the **www/phonegap-1.0.0.js** file from the new project into your **www** folder, and delete your **www/phonegap-0.9.6.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 **phonegap-1.0.0.js** file
 8. **Add** a new entry under **Plugins** in your **PhoneGap.plist** file - key is **com.phonegap.battery** and the value is **PGBattery**
-9. **Integrate** any project specific code that you have in your **backed-up AppDelegate.h and AppDelegate.m** into the new AppDelegate files
\ No newline at end of file
+9. **Integrate** any project specific code that you have in your **backed-up AppDelegate.h and AppDelegate.m** into the new AppDelegate files