cordova-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject docs commit: Added iOS upgrading instructions from 2.5.0 to 2.6.0
Date Mon, 01 Apr 2013 22:25:39 GMT
Updated Branches:
  refs/heads/2.6.x 15b56f019 -> 5a774fd0a

Added iOS upgrading instructions from 2.5.0 to 2.6.0


Branch: refs/heads/2.6.x
Commit: 5a774fd0a61064ba24719ed963203607c6873fb7
Parents: 15b56f0
Author: Shazron Abdullah <>
Authored: Mon Apr 1 15:25:26 2013 -0700
Committer: Shazron Abdullah <>
Committed: Mon Apr 1 15:25:46 2013 -0700

 docs/en/edge/guide/upgrading/ios/ |   15 +++++++++++++++
 1 files changed, 15 insertions(+), 0 deletions(-)
diff --git a/docs/en/edge/guide/upgrading/ios/ b/docs/en/edge/guide/upgrading/ios/
index cb451dc..aec11d1 100644
--- a/docs/en/edge/guide/upgrading/ios/
+++ b/docs/en/edge/guide/upgrading/ios/
@@ -22,6 +22,21 @@ Upgrading Cordova iOS
 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 Cordova 2.5.0 projects to 2.6.0 ##
+1. **Download and extract the Cordova 2.6.0 source** to a **permanent folder location** on
your hard drive (say to ~/Documents/Cordova-2.6.0)
+2. **Quit Xcode** if it is running.
+3. **Navigate** to the directory where you put the downloaded source above, using ****.
+4. [**Create a new project**](
from the command-line tools - you will have to grab the assets from this new project
+5. **Copy** the **www/cordova-2.6.0.js** file from the new project into your **www** folder,
and delete your **www/cordova-2.5.0.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-2.6.0.js** file
+7. Update (or replace, if you never changed the file) your **AppDelegate.m** file according
to the one from the new project (see [this diff](;a=blobdiff;f=bin/templates/project/__TESTING__/Classes/AppDelegate.m;h=124a56bb4f361e95616f44d6d6f5a96ffa439b60;hp=318f79326176be8f16ebc93bad85dd745f4205b6;hb=a28c7712810a63396e9f32fa4eb94fe3f8b93985;hpb=36acdf55e4cab52802d73764c8a4b5b42cf18ef9))
+8. In your **config.xml** file, [add this new line](;a=blobdiff;f=bin/templates/project/__TESTING__/config.xml;h=1555b5e81de326a07efe0bccaa5f5e2326b07a9a;hp=0652d60f8d35ac13c825c572dca6ed01fea4a540;hb=95f16a6dc252db0299b8e2bb53797995b1e39aa1;hpb=a2de90b8f5f5f68bd9520bcbbb9afa3ac409b96d).
+9. In your **config.xml** file, [add this new line](;a=blobdiff;f=bin/templates/project/__TESTING__/config.xml;h=d307827b7e67301171a913417fb10003d43ce39d;hp=04260aa9786d6d74ab20a07c86d7e8b34e31968c;hb=97b89edfae3527828c0ca6bb2f6d58d9ded95188;hpb=942d33c8e7174a5766029ea1232ba2e0df745c3f).
+10. In your **config.xml** file, [UIWebViewBounce has ben changed to DisallowOverscroll -
and default values are different](;a=blobdiff;f=bin/templates/project/__TESTING__/config.xml;h=8889726d9a8f8c530fe1371c56d858c34552992a;hp=d307827b7e67301171a913417fb10003d43ce39d;hb=57982de638a4dce6ae130a26662591741b065f00;hpb=ec411f18309d577b4debefd9a2f085ba719701d5).
+10. In your **config.xml** file, the **EnableLocation** preference has been **deprecated**.
+11. Delete your **"CordovaLib"** folder, and copy the **"CordovaLib"** folder from the new
project into your project's root folder
 ## Upgrading Cordova 2.4.0 projects to 2.5.0 ##
 1. **Download and extract the Cordova 2.5.0 source** to a **permanent folder location** on
your hard drive (say to ~/Documents/Cordova-2.5.0)

View raw message