mirror of
https://github.com/zhigang1992/RestKit.git
synced 2026-01-12 22:51:50 +08:00
Simplified to a single header search path
This commit is contained in:
@@ -74,9 +74,7 @@ button and confirm that your "Build Location" is the "Derived Data Location".
|
||||
1. Add Git submodule to your project: `git submodule add git://github.com/RestKit/RestKit.git RestKit`
|
||||
1. Add cross-project reference by dragging **RestKit.xcodeproj** to your project
|
||||
1. Open build settings editor for your project
|
||||
1. Add the following **Header Search Paths**:
|
||||
1. **"$(BUILT_PRODUCTS_DIR)/../RestKit"**
|
||||
1. **"$(BUILT_PRODUCTS_DIR)/../../RestKit"**
|
||||
1. Add the following **Header Search Paths** (including the quotes): `"$(BUILT_PRODUCTS_DIR)/../../Headers"`
|
||||
1. Add **Other Linker Flags** for `-ObjC -all_load`
|
||||
1. Open target settings editor for the target you want to link RestKit into
|
||||
1. Add direct dependency on the **RestKit** aggregate target
|
||||
|
||||
@@ -2908,11 +2908,13 @@
|
||||
GCC_PREFIX_HEADER = "Code/Support/RestKit-Prefix.pch";
|
||||
HEADER_SEARCH_PATHS = "${SDKROOT}/usr/include/libxml2";
|
||||
IPHONEOS_DEPLOYMENT_TARGET = 4.0;
|
||||
OBJROOT = "$(SRCROOT)/Build";
|
||||
OTHER_LDFLAGS = "-ObjC";
|
||||
PRIVATE_HEADERS_FOLDER_PATH = "$(PUBLIC_HEADERS_FOLDER_PATH)/Private";
|
||||
PRODUCT_NAME = "$(TARGET_NAME)";
|
||||
PUBLIC_HEADERS_FOLDER_PATH = ../RestKit/RestKit;
|
||||
PUBLIC_HEADERS_FOLDER_PATH = ../../Headers/RestKit;
|
||||
SKIP_INSTALL = YES;
|
||||
SYMROOT = "$(SRCROOT)/Build/Products";
|
||||
};
|
||||
name = Debug;
|
||||
};
|
||||
@@ -2927,11 +2929,13 @@
|
||||
GCC_PREFIX_HEADER = "Code/Support/RestKit-Prefix.pch";
|
||||
HEADER_SEARCH_PATHS = "${SDKROOT}/usr/include/libxml2";
|
||||
IPHONEOS_DEPLOYMENT_TARGET = 4.0;
|
||||
OBJROOT = "$(SRCROOT)/Build";
|
||||
OTHER_LDFLAGS = "-ObjC";
|
||||
PRIVATE_HEADERS_FOLDER_PATH = "$(PUBLIC_HEADERS_FOLDER_PATH)/Private";
|
||||
PRODUCT_NAME = "$(TARGET_NAME)";
|
||||
PUBLIC_HEADERS_FOLDER_PATH = ../RestKit/RestKit;
|
||||
PUBLIC_HEADERS_FOLDER_PATH = ../../Headers/RestKit;
|
||||
SKIP_INSTALL = YES;
|
||||
SYMROOT = "$(SRCROOT)/Build/Products";
|
||||
};
|
||||
name = Release;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user