From 8f66bc1c92d8ac61078dc1a3fb00875e608a25a2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Einar=20Johan=20Tr=C3=B8an=20S=C3=B8ma=CC=8Aen?= Date: Fri, 3 Apr 2015 01:19:24 +0200 Subject: [PATCH] CREATE_PROJECT: Escape \" in "" for PBXFileReferences during writeFileListToProject This has to be applied explicitly, as modifying ADD_FILE_REFERENCE to use SettingsQuoteVariable would be wrong (i.e. SDKROOT should not become "SDKROOT"). --- devtools/create_project/xcode.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/devtools/create_project/xcode.cpp b/devtools/create_project/xcode.cpp index f70b359edb0..18ab98560b8 100644 --- a/devtools/create_project/xcode.cpp +++ b/devtools/create_project/xcode.cpp @@ -191,7 +191,7 @@ void XCodeProvider::writeFileListToProject(const FileNode &dir, std::ofstream &p const FileNode *node = *i; std::string id = "FileReference_" + node->name; - FileProperty property = FileProperty(node->name, node->name, node->name, ""); + FileProperty property = FileProperty(node->name, node->name, node->name, "\"\""); ADD_SETTING_ORDER_NOVALUE(children, getHash(node->name), node->name, order++); ADD_BUILD_FILE(id, node->name, node->name + " in Sources");