cordova-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From shaz...@apache.org
Subject docs commit: [CB-3527] Update Upgrading Guide for 2.7.0 -> 2.8.0 for iOS
Date Tue, 28 May 2013 23:45:30 GMT
Updated Branches:
  refs/heads/master f37a3146a -> 5dc7ea29f


[CB-3527] Update Upgrading Guide for 2.7.0 -> 2.8.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/5dc7ea29
Tree: http://git-wip-us.apache.org/repos/asf/cordova-docs/tree/5dc7ea29
Diff: http://git-wip-us.apache.org/repos/asf/cordova-docs/diff/5dc7ea29

Branch: refs/heads/master
Commit: 5dc7ea29f9b74ff88c0aaea6a1f1d3988de304d2
Parents: f37a314
Author: Shazron Abdullah <shazron@apache.org>
Authored: Tue May 28 16:45:24 2013 -0700
Committer: Shazron Abdullah <shazron@apache.org>
Committed: Tue May 28 16:45:24 2013 -0700

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


http://git-wip-us.apache.org/repos/asf/cordova-docs/blob/5dc7ea29/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 1aef2e0..4ea993b 100644
--- a/docs/en/edge/guide/upgrading/ios/index.md
+++ b/docs/en/edge/guide/upgrading/ios/index.md
@@ -22,6 +22,29 @@ 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.7.0 projects to 2.8.0 ##
+
+1. **Download and extract the Cordova 2.8.0 source** to a **permanent folder location** on
your hard drive (say to ~/Documents/Cordova-2.8.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**](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
+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-2.7.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.js** file
+7. Update any &lt;plugin&gt; tags that are in your **config.xml** to &lt;feature&gt;
tags. Note that existing &lt;plugin&gt; tags will still work, but are deprecated.
You can copy this information in the **config.xml** for a new project. For example:
+
+        <plugins>
+            <plugin name="LocalStorage" value="CDVLocalStorage" />
+            <!-- other plugins -->
+        </plugins>
+        
+        <!-- change to: (note that a <feature> tag is on the same level as <plugins>
-->
+        <feature name="LocalStorage">
+    	    <param name="ios-package" value="CDVLocalStorage" />
+    	</feature>
+    	<!-- other <feature> tags -->
+        
+8. Delete your **"CordovaLib"** folder, and copy the **"CordovaLib"** folder from the new
project into your project's root folder
+
 ## Upgrading Cordova 2.6.0 projects to 2.7.0 ##
 
 1. **Download and extract the Cordova 2.7.0 source** to a **permanent folder location** on
your hard drive (say to ~/Documents/Cordova-2.7.0)


Mime
View raw message