Skip to content
This repository

Updating README instruction to help anyone using Xcode 4 #792

Closed
wants to merge 10 commits into from

4 participants

Josemando Sobral Stephan Diederich John Wang tonklon
This page is out of date. Refresh to see the latest.

Showing 1 changed file with 5 additions and 7 deletions. Show diff stats Hide diff stats

  1. 12  README.mdown
12  README.mdown
Source Rendered
@@ -64,11 +64,10 @@ The Second option is to add it to your project manually.  Here is how:
64 64
      * Three20UI
65 65
      * Three20
66 66
 
67  
-4. Now you need to link the Three20 static libraries to your project.  Select all of the
68  
-   project items that you just added to the sidebar.  Under the "Details" table, you will see
69  
-   a number of items, such as libThree20.a and libThree20Core.a.  Check the checkbox on the
70  
-   far right for each of the `lib` files (not the UnitTests). This will link each part of the
71  
-   Three20 framework to your app.
  67
+4. Now you need to link the Three20 static libraries to your project. Select your Project Target. 
  68
+   Under the "Build Phases" tab you will see "Link Binary With Libaries" section. Click on the 
  69
+   "+" button, select "libThree20.a" and each of the other files, and select "Add". This will link 
  70
+   each part of the Three20 framework to you app.
72 71
 
73 72
 5. Now you need to add Three20 as a dependency of your project, so Xcode compiles it whenever
74 73
    you compile your project.  Expand the "Targets" section of the sidebar and double-click your
@@ -87,8 +86,7 @@ The Second option is to add it to your project manually.  Here is how:
87 86
 
88 87
 8. Finally, we need to tell your project where to find the Three20 headers.  Open your
89 88
    "Project Settings" and go to the "Build" tab. Look for "Header Search Paths" and double-click
90  
-   it.  Add the relative path from your project's directory to the
91  
-   "three20/Build/Products/three20" directory.
  89
+   it. Add these two "$(BUILT_PRODUCTS_DIR)/../three20" and "$(BUILT_PRODUCTS_DIR)/../../three20"
92 90
 
93 91
 9. While you are in Project Settings, go to "Other Linker Flags" under the "Linker" section, and
94 92
    add "-ObjC" and "-all_load" to the list of flags.
Commit_comment_tip

Tip: You can add notes to lines in a file. Hover to the left of a line to make a note

Something went wrong with that request. Please try again.