Skip to content

Commit aa64d20

Browse files
author
Olivier Poitrey
committed
Fix README for static library instruction with archiving
1 parent 960674f commit aa64d20

File tree

3 files changed

+9
-10
lines changed

3 files changed

+9
-10
lines changed

Examples/SDWebImage Demo.xcodeproj/project.pbxproj

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -335,11 +335,14 @@
335335
GCC_PRECOMPILE_PREFIX_HEADER = YES;
336336
GCC_PREFIX_HEADER = "SDWebImage Demo/SDWebImage Demo-Prefix.pch";
337337
GCC_PREPROCESSOR_DEFINITIONS = "DEBUG=1";
338+
HEADER_SEARCH_PATHS = (
339+
"\"$(OBJROOT)/UninstalledProducts/include\"",
340+
"\"$(TARGET_BUILD_DIR)/usr/local/lib/include\"",
341+
);
338342
INFOPLIST_FILE = "SDWebImage Demo/SDWebImage Demo-Info.plist";
339343
OTHER_CFLAGS = "";
340344
OTHER_LDFLAGS = "-ObjC";
341345
PRODUCT_NAME = "$(TARGET_NAME)";
342-
USER_HEADER_SEARCH_PATHS = "”$(TARGET_BUILD_DIR)/usr/local/lib/include” ”$(OBJROOT)/UninstalledProducts/include”";
343346
WRAPPER_EXTENSION = app;
344347
};
345348
name = Debug;
@@ -350,10 +353,13 @@
350353
GCC_PRECOMPILE_PREFIX_HEADER = YES;
351354
GCC_PREFIX_HEADER = "SDWebImage Demo/SDWebImage Demo-Prefix.pch";
352355
GCC_PREPROCESSOR_DEFINITIONS = "";
356+
HEADER_SEARCH_PATHS = (
357+
"\"$(OBJROOT)/UninstalledProducts/include\"",
358+
"\"$(TARGET_BUILD_DIR)/usr/local/lib/include\"",
359+
);
353360
INFOPLIST_FILE = "SDWebImage Demo/SDWebImage Demo-Info.plist";
354361
OTHER_LDFLAGS = "-ObjC";
355362
PRODUCT_NAME = "$(TARGET_NAME)";
356-
USER_HEADER_SEARCH_PATHS = "”$(TARGET_BUILD_DIR)/usr/local/lib/include” ”$(OBJROOT)/UninstalledProducts/include”";
357363
WRAPPER_EXTENSION = app;
358364
};
359365
name = Release;

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -270,7 +270,7 @@ Open the "Build Settings" tab, locate the "Other Linker Flags" setting and add t
270270

271271
![Other Linker Flags](http://dl.dropbox.com/u/123346/SDWebImage/10_other_linker_flags.jpg)
272272

273-
Locate "User Header Search Paths" and add two settings: ”$(TARGET_BUILD_DIR)/usr/local/lib/include” and ”$(OBJROOT)/UninstalledProducts/include”. Make sure to include the quotes here:
273+
Locate "Header Search Paths" (and not "User Header Search Paths") and add two settings: ”$(TARGET_BUILD_DIR)/usr/local/lib/include” and ”$(OBJROOT)/UninstalledProducts/include”. Make sure to include the quotes here:
274274

275275
![User Header Search Paths](http://dl.dropbox.com/u/123346/SDWebImage/11_user_header_search_paths.jpg)
276276

SDWebImage.xcodeproj/project.xcworkspace/contents.xcworkspacedata

Lines changed: 0 additions & 7 deletions
This file was deleted.

0 commit comments

Comments
 (0)