summaryrefslogtreecommitdiff
path: root/platform/iphone/export
diff options
context:
space:
mode:
authorIgnacio Etcheverry <ignalfonsore@gmail.com>2020-03-18 17:40:27 +0100
committerIgnacio Etcheverry <ignalfonsore@gmail.com>2020-03-31 09:37:17 +0200
commit21d1ea60a7193eae9be574c1730f39b0fd2bceb2 (patch)
tree55ec8fcbde98e6a987b12e5828d99e8786ac439e /platform/iphone/export
parent77dd06134504ce68cc79b879c4a28d76a2c975f8 (diff)
Fix exporting corrupted Xcode pbxproj if project name has spaces
Diffstat (limited to 'platform/iphone/export')
-rw-r--r--platform/iphone/export/export.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/platform/iphone/export/export.cpp b/platform/iphone/export/export.cpp
index 76ebdfdd97..2d190cfdc5 100644
--- a/platform/iphone/export/export.cpp
+++ b/platform/iphone/export/export.cpp
@@ -795,7 +795,7 @@ void EditorExportPlatformIOS::_add_assets_to_project(const Ref<EditorExportPrese
String pbx_resources_refs;
const String file_info_format = String("$build_id = {isa = PBXBuildFile; fileRef = $ref_id; };\n") +
- "$ref_id = {isa = PBXFileReference; lastKnownFileType = $file_type; name = $name; path = \"$file_path\"; sourceTree = \"<group>\"; };\n";
+ "$ref_id = {isa = PBXFileReference; lastKnownFileType = $file_type; name = \"$name\"; path = \"$file_path\"; sourceTree = \"<group>\"; };\n";
for (int i = 0; i < p_additional_assets.size(); ++i) {
String build_id = (++current_id).str();
String ref_id = (++current_id).str();