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/04/10 19:21:45 UTC

ios commit: Fixed CB-474: "How to Use Cordova as a Component" - CordovaLib subproject is missing a step

Updated Branches:
  refs/heads/master a0f3a9168 -> 953c3c246


Fixed CB-474: "How to Use Cordova as a Component" - CordovaLib subproject is missing a 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/953c3c24
Tree: http://git-wip-us.apache.org/repos/asf/incubator-cordova-ios/tree/953c3c24
Diff: http://git-wip-us.apache.org/repos/asf/incubator-cordova-ios/diff/953c3c24

Branch: refs/heads/master
Commit: 953c3c24653c9a2225bf723847b8bb859593dcbf
Parents: a0f3a91
Author: Shazron Abdullah <sh...@apache.org>
Authored: Tue Apr 10 10:21:37 2012 -0700
Committer: Shazron Abdullah <sh...@apache.org>
Committed: Tue Apr 10 10:21:37 2012 -0700

----------------------------------------------------------------------
 guides/How to Use Cordova as a Component.md |   37 ++++++++++++---------
 1 files changed, 21 insertions(+), 16 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-cordova-ios/blob/953c3c24/guides/How to Use Cordova as a Component.md
----------------------------------------------------------------------
diff --git a/guides/How to Use Cordova as a Component.md b/guides/How to Use Cordova as a Component.md
index 1fefa4d..3d164ff 100644
--- a/guides/How to Use Cordova as a Component.md	
+++ b/guides/How to Use Cordova as a Component.md	
@@ -44,18 +44,23 @@ It is recommended that you follow the Cordova.framework instructions below, the
 3. **Choose** the radio-button **"Create groups for any added folders"**
 4. Press the key combination **Option-Command-A**, which should drop down a sheet to add files to your project (the **"Add Files..." sheet**). Make sure the **"Created groups for any added folders"** radio-button is selected
 5. Press the key combination **Shift-Command-G**, which should drop down another sheet for you to go to a folder (the **"Go to the folder:" sheet**)
-6. Enter **"~/Documents/CordovaLib/CordovaLib.xcodeproj"** in the **"Go to the folder:" sheet** and then press the **"Go"** button
-7. Press the **"Add"** button in the **"Add Files..." sheet**
-8. **Select "CordovaLib.xcodeproj"** in the Project Navigator
-9. Press the key combination **Option-Command-1** to show the **File Inspector**
-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. 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):
+6. Enter **"~/Documents/CordovaLib/"** in the **"Go to the folder:" sheet** and then press the **"Go"** button
+7. Select the **"VERSION"** file in the the **"Add Files..." sheet**
+8. Press the **"Add"** button in the **"Add Files..." sheet**
+9. Press the key combination **Option-Command-A**, which should drop down a sheet to add files to your project (the **"Add Files..." sheet**). Make sure the **"Created groups for any added folders"** radio-button is selected
+10. Press the key combination **Shift-Command-G**, which should drop down another sheet for you to go to a folder (the **"Go to the folder:" sheet**)
+11. Enter **"~/Documents/CordovaLib/CordovaLib.xcodeproj"** in the **"Go to the folder:" sheet** and then press the **"Go"** button
+12. Press the **"Add"** button in the **"Add Files..." sheet**
+13. **Select "CordovaLib.xcodeproj"** in the Project Navigator
+14. Press the key combination **Option-Command-1** to show the **File Inspector**
+15. Choose **"Relative to CORDOVALIB"** in the **File Inspector** for the drop-down menu for **Location** 
+16. Click on the **project icon** in the Project Navigator, select your **Project**, then select the **"Build Settings"** tab
+17. Enter **"Header Search Paths"** in the search field
+18. Add **"$(CORDOVALIB)/Classes"** and check the **Recursive** checkbox - for the **"Header Search Paths"** value
+19. Add **"-all_load"** and **"-Obj-C"** - for the **"Other Linker Flags"** value
+20. Click on the **project icon** in the Project Navigator, select your **Target**, then select the **"Build Phases"** tab
+21. Expand **"Link Binaries with Libraries"** 
+22. Click on the **"+" button**, and add these **frameworks** (and optionally in the Project Navigator, **move** them under the Frameworks group):
 
         AddressBook.framework
         AddressBookUI.framework
@@ -67,12 +72,12 @@ It is recommended that you follow the Cordova.framework instructions below, the
         SystemConfiguration.framework
         MobileCoreServices.framework
         CoreMedia.framework
-18. Expand **"Target Dependencies"** - the top box labeled like this if
+23. Expand **"Target Dependencies"** - the top box labeled like this if
     you have multiple boxes!
-19. Click on the **"+" button**, and add the **"CordovaLib"** build product
-20. Expand **"Link Binaries with Libraries"** - the top box labeled like
+24. Click on the **"+" button**, and add the **"CordovaLib"** build product
+25. Expand **"Link Binaries with Libraries"** - the top box labeled like
     this if you have multiple boxes!
-21. Click on the **"+" button**, and add **libCordova.a** 
+26. Click on the **"+" button**, and add **libCordova.a** 
 
 ### Adding new classes to CordovaLib sub-project ###