Permalink
Browse files

Fix compiling

SDK was set incorrectly and libxml include path was specific to /Developer. Both are now fixed with the include path being relative to $(SDKROOT).
  • Loading branch information...
1 parent 798c471 commit 9158bb66729e022246376402135505792d0d336c @mattjgalloway mattjgalloway committed May 13, 2012
Showing with 4 additions and 8 deletions.
  1. +4 −8 Hpple.xcodeproj/project.pbxproj
@@ -341,7 +341,6 @@
PRODUCT_NAME = Hpple;
"PROVISIONING_PROFILE[sdk=iphoneos*]" = "";
RUN_CLANG_STATIC_ANALYZER = YES;
- SDKROOT = iphoneos;
};
name = Debug;
};
@@ -370,7 +369,6 @@
LLVM_LTO = YES;
PRODUCT_NAME = Hpple;
RUN_CLANG_STATIC_ANALYZER = YES;
- SDKROOT = iphoneos;
};
name = Release;
};
@@ -394,7 +392,6 @@
);
PREBINDING = NO;
PRODUCT_NAME = Test;
- SDKROOT = iphoneos3.0;
};
name = Debug;
};
@@ -418,7 +415,6 @@
);
PREBINDING = NO;
PRODUCT_NAME = Test;
- SDKROOT = iphoneos2.2.1;
ZERO_LINK = NO;
};
name = Release;
@@ -431,11 +427,11 @@
GCC_C_LANGUAGE_STANDARD = c99;
GCC_WARN_ABOUT_RETURN_TYPE = YES;
GCC_WARN_UNUSED_VARIABLE = YES;
- HEADER_SEARCH_PATHS = /Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS2.2.sdk/usr/include/libxml2;
+ HEADER_SEARCH_PATHS = "$(SDKROOT)/usr/include/libxml2";
ONLY_ACTIVE_ARCH = YES;
PREBINDING = NO;
"PROVISIONING_PROFILE[sdk=iphoneos*]" = "";
- SDKROOT = iphoneos2.2.1;
+ SDKROOT = iphoneos;
};
name = Debug;
};
@@ -447,9 +443,9 @@
GCC_C_LANGUAGE_STANDARD = c99;
GCC_WARN_ABOUT_RETURN_TYPE = YES;
GCC_WARN_UNUSED_VARIABLE = YES;
- HEADER_SEARCH_PATHS = /usr/include/libxml2;
+ HEADER_SEARCH_PATHS = "$(SDKROOT)/usr/include/libxml2";
PREBINDING = NO;
- SDKROOT = iphoneos2.2.1;
+ SDKROOT = iphoneos;
};
name = Release;
};

0 comments on commit 9158bb6

Please sign in to comment.