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 2012/02/18 00:26:17 UTC

ios commit: Fixed typo, added missing step.

Updated Branches:
  refs/heads/master bcff9559b -> 745f945e6


Fixed typo, added missing step.


Project: http://git-wip-us.apache.org/repos/asf/incubator-cordova-ios/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-cordova-ios/commit/745f945e
Tree: http://git-wip-us.apache.org/repos/asf/incubator-cordova-ios/tree/745f945e
Diff: http://git-wip-us.apache.org/repos/asf/incubator-cordova-ios/diff/745f945e

Branch: refs/heads/master
Commit: 745f945e6ac710adabaa99c168fc168538784424
Parents: bcff955
Author: Shazron Abdullah <sh...@apache.org>
Authored: Fri Feb 17 15:26:10 2012 -0800
Committer: Shazron Abdullah <sh...@apache.org>
Committed: Fri Feb 17 15:26:10 2012 -0800

----------------------------------------------------------------------
 How to Use Cordova as a Component.md |   17 +++++++++--------
 1 files changed, 9 insertions(+), 8 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-cordova-ios/blob/745f945e/How to Use Cordova as a Component.md
----------------------------------------------------------------------
diff --git a/How to Use Cordova as a Component.md b/How to Use Cordova as a Component.md
index 82ccb8d..44b7f1d 100644
--- a/How to Use Cordova as a Component.md	
+++ b/How to Use Cordova as a Component.md	
@@ -51,10 +51,11 @@ It is recommended that you follow the Cordova.framework instructions below, the
 10. Choose **"Relative to CORDOVALIB"** in the **File Inspector** for the drop-down menu for **Location** 
 11. Click on the **project icon** in the Project Navigator, select your **Project**, then select the **"Build Settings"** tab
 12. Enter **"Header Search Paths"** in the search field
-13. Enter **"$(CORDOVAPLIB)/Classes"** and check the **Recursive** checkbox - for the **"Header Search Paths"** value
-14. Click on the **project icon** in the Project Navigator, select your **Target**, then select the **"Build Phases"** tab
-15. Expand **"Link Binaries with Libraries"**
-16. Click on the **"+" button**, and add these **frameworks** (and optionally in the Project Navigator, **move** them under the Frameworks group):
+13. Add **"$(CORDOVALIB)/Classes"** and check the **Recursive** checkbox - for the **"Header Search Paths"** value
+14. Add **"-all_load"** and **"-Obj-C"** - for the **"Other Linker Flags"** value
+15. Click on the **project icon** in the Project Navigator, select your **Target**, then select the **"Build Phases"** tab
+16. Expand **"Link Binaries with Libraries"**
+17. Click on the **"+" button**, and add these **frameworks** (and optionally in the Project Navigator, **move** them under the Frameworks group):
 
         AddressBook.framework
         AddressBookUI.framework
@@ -66,10 +67,10 @@ It is recommended that you follow the Cordova.framework instructions below, the
         SystemConfiguration.framework
         MobileCoreServices.framework
         CoreMedia.framework
-17. Expand **"Target Dependencies"**
-18. Click on the **"+" button**, and add the **"CordovaLib"** build product
-19. Expand **"Link Binaries with Libraries"**
-20. Click on the **"+" button**, and add **libCordova.a** 
+18. Expand **"Target Dependencies"**
+19. Click on the **"+" button**, and add the **"CordovaLib"** build product
+20. Expand **"Link Binaries with Libraries"**
+21. Click on the **"+" button**, and add **libCordova.a** 
 
 ## Using CDVViewController in your code ##