mirror of
https://github.com/zhigang1992/RestKit.git
synced 2026-04-15 12:13:44 +08:00
improve the language on Xcode 4 readme slightly
This commit is contained in:
@@ -103,7 +103,7 @@ Xcode 4.x (Git Submodule)
|
||||
1. Drag the RestKit.xcodeproj file from the RestKit project window and drop it on your "<Your Project's Name>".xcodeproj.
|
||||
1. Click on your project's name in the sidebar on the left to open the project settings view in the right pane of the window.
|
||||
1. In the middle pane you will see **PROJECT** and **TARGETS** headers for your project. Click on your project name, then select **Build Settings** along the top to open the Build Settings editor for your entire project.
|
||||
1. Find the **Header Search Paths** setting. Double click and add a new entry. When RestKit is compiled, it will copy all relevant headers to the appropriate location under the /Build directory within the RestKit checkout. **DO NOT** check the `Recursive` checkbox.
|
||||
1. Find the **Header Search Paths** setting. Double click and add a new entry. Add a search path to the RestKit/Build directory you have added to your project. For example, if you checked the submodule out to the 'Libraries' subdirectory of your project, your header path would be 'Libraries/RestKit/Build'. **DO NOT** check the `Recursive` checkbox.
|
||||
1. Find the **Other Linker Flags** entry and double click it. Use the **+** button to add a new entry and enter `-ObjC -all_load`. Dismiss the editor with the **Done** button.
|
||||
1. Locate the target you wish to add RestKit to in the **TARGETS** list in the middle of the editor pane. Select it to open the target settings editor in the right pane of the window.
|
||||
1. Click the **Build Phases** tab along the top of the window to open the Build Phases editor.
|
||||
|
||||
Reference in New Issue
Block a user