From aa64d201289f8590c5f097c6a0b9bb1411ed5413 Mon Sep 17 00:00:00 2001 From: Olivier Poitrey Date: Wed, 16 May 2012 20:42:19 +0200 Subject: [PATCH] Fix README for static library instruction with archiving --- Examples/SDWebImage Demo.xcodeproj/project.pbxproj | 10 ++++++++-- README.md | 2 +- .../project.xcworkspace/contents.xcworkspacedata | 7 ------- 3 files changed, 9 insertions(+), 10 deletions(-) delete mode 100644 SDWebImage.xcodeproj/project.xcworkspace/contents.xcworkspacedata diff --git a/Examples/SDWebImage Demo.xcodeproj/project.pbxproj b/Examples/SDWebImage Demo.xcodeproj/project.pbxproj index ba4e96c..d8a0692 100644 --- a/Examples/SDWebImage Demo.xcodeproj/project.pbxproj +++ b/Examples/SDWebImage Demo.xcodeproj/project.pbxproj @@ -335,11 +335,14 @@ GCC_PRECOMPILE_PREFIX_HEADER = YES; GCC_PREFIX_HEADER = "SDWebImage Demo/SDWebImage Demo-Prefix.pch"; GCC_PREPROCESSOR_DEFINITIONS = "DEBUG=1"; + HEADER_SEARCH_PATHS = ( + "\"$(OBJROOT)/UninstalledProducts/include\"", + "\"$(TARGET_BUILD_DIR)/usr/local/lib/include\"", + ); INFOPLIST_FILE = "SDWebImage Demo/SDWebImage Demo-Info.plist"; OTHER_CFLAGS = ""; OTHER_LDFLAGS = "-ObjC"; PRODUCT_NAME = "$(TARGET_NAME)"; - USER_HEADER_SEARCH_PATHS = "”$(TARGET_BUILD_DIR)/usr/local/lib/include” ”$(OBJROOT)/UninstalledProducts/include”"; WRAPPER_EXTENSION = app; }; name = Debug; @@ -350,10 +353,13 @@ GCC_PRECOMPILE_PREFIX_HEADER = YES; GCC_PREFIX_HEADER = "SDWebImage Demo/SDWebImage Demo-Prefix.pch"; GCC_PREPROCESSOR_DEFINITIONS = ""; + HEADER_SEARCH_PATHS = ( + "\"$(OBJROOT)/UninstalledProducts/include\"", + "\"$(TARGET_BUILD_DIR)/usr/local/lib/include\"", + ); INFOPLIST_FILE = "SDWebImage Demo/SDWebImage Demo-Info.plist"; OTHER_LDFLAGS = "-ObjC"; PRODUCT_NAME = "$(TARGET_NAME)"; - USER_HEADER_SEARCH_PATHS = "”$(TARGET_BUILD_DIR)/usr/local/lib/include” ”$(OBJROOT)/UninstalledProducts/include”"; WRAPPER_EXTENSION = app; }; name = Release; diff --git a/README.md b/README.md index 395e190..4de989a 100644 --- a/README.md +++ b/README.md @@ -270,7 +270,7 @@ Open the "Build Settings" tab, locate the "Other Linker Flags" setting and add t ![Other Linker Flags](http://dl.dropbox.com/u/123346/SDWebImage/10_other_linker_flags.jpg) -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: +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: ![User Header Search Paths](http://dl.dropbox.com/u/123346/SDWebImage/11_user_header_search_paths.jpg) diff --git a/SDWebImage.xcodeproj/project.xcworkspace/contents.xcworkspacedata b/SDWebImage.xcodeproj/project.xcworkspace/contents.xcworkspacedata deleted file mode 100644 index 6b0a1e2..0000000 --- a/SDWebImage.xcodeproj/project.xcworkspace/contents.xcworkspacedata +++ /dev/null @@ -1,7 +0,0 @@ - - - - -