ericjohnson/canabalt-ios

Does not build if you have a space in your path

philippec opened this issue · 2 comments

If you have a space in your path (e.g. "~/Open Source/canabalt") the project will not build.

This patch fixes that.

Thanks for making this open source!


diff --git a/Canabalt.xcodeproj/project.pbxproj b/Canabalt.xcodeproj/project.pbxproj
index 2c26be6..0f0436b 100755
--- a/Canabalt.xcodeproj/project.pbxproj
+++ b/Canabalt.xcodeproj/project.pbxproj
@@ -1010,7 +1010,7 @@
        GCC_PREFIX_HEADER = Canabalt_Prefix.pch;
        GCC_THUMB_SUPPORT = NO;
        "GCC_THUMB_SUPPORT[arch=armv6]" = "";
-               HEADER_SEARCH_PATHS = "$(PROJECT_DIR)/flixel-ios/Headers";
+               HEADER_SEARCH_PATHS = "\"$(PROJECT_DIR)/flixel-ios/Headers\"";
        INFOPLIST_FILE = "Canabalt-Info.plist";
        IPHONEOS_DEPLOYMENT_TARGET = 3.1;
        PRODUCT_NAME = Canabalt;

Thanks for the report! I've added this fix and pushed up.

My pleasure! Wasn't sure if you wanted a pull request or a patch... Glad this worked!