Return-Path: X-Original-To: apmail-cordova-commits-archive@www.apache.org Delivered-To: apmail-cordova-commits-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 7134ADBD7 for ; Tue, 28 May 2013 23:46:10 +0000 (UTC) Received: (qmail 19069 invoked by uid 500); 28 May 2013 23:46:10 -0000 Delivered-To: apmail-cordova-commits-archive@cordova.apache.org Received: (qmail 19039 invoked by uid 500); 28 May 2013 23:46:10 -0000 Mailing-List: contact commits-help@cordova.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@cordova.apache.org Delivered-To: mailing list commits@cordova.apache.org Received: (qmail 19032 invoked by uid 99); 28 May 2013 23:46:10 -0000 Received: from tyr.zones.apache.org (HELO tyr.zones.apache.org) (140.211.11.114) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 28 May 2013 23:46:10 +0000 Received: by tyr.zones.apache.org (Postfix, from userid 65534) id 14A9B89C6A0; Tue, 28 May 2013 23:46:10 +0000 (UTC) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: shazron@apache.org To: commits@cordova.apache.org Message-Id: <536c33d3684c4052b2bf3fde7e8aec97@git.apache.org> X-Mailer: ASF-Git Admin Mailer Subject: docs commit: [CB-3527] Update Upgrading Guide for 2.7.0 -> 2.8.0 for iOS Date: Tue, 28 May 2013 23:46:10 +0000 (UTC) Updated Branches: refs/heads/2.8.x cb1da555f -> 92a033591 [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/92a03359 Tree: http://git-wip-us.apache.org/repos/asf/cordova-docs/tree/92a03359 Diff: http://git-wip-us.apache.org/repos/asf/cordova-docs/diff/92a03359 Branch: refs/heads/2.8.x Commit: 92a033591e2eee94a3776ecffddb2fb247730ff4 Parents: cb1da55 Author: Shazron Abdullah Authored: Tue May 28 16:45:24 2013 -0700 Committer: Shazron Abdullah Committed: Tue May 28 16:46:02 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/92a03359/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 <plugin> tags that are in your **config.xml** to <feature> tags. Note that existing <plugin> tags will still work, but are deprecated. You can copy this information in the **config.xml** for a new project. For example: + + + + + + + + + + + + +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)