From 058552063c2ccd194282c5a37a98008e2b36cb5b Mon Sep 17 00:00:00 2001 From: Johan Pauwels Date: Mon, 18 May 2020 13:15:11 +0100 Subject: [PATCH] Escape quoted strings in Xcode project --- waflib/extras/xcode6.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/waflib/extras/xcode6.py b/waflib/extras/xcode6.py index 24f0d159..c5b30912 100644 --- a/waflib/extras/xcode6.py +++ b/waflib/extras/xcode6.py @@ -163,7 +163,7 @@ class XCodeNode(object): result = result + "\t\t}" return result elif isinstance(value, str): - return "\"%s\"" % value + return '"%s"' % value.replace('"', '\\\\\\"') elif isinstance(value, list): result = "(\n" for i in value: