summaryrefslogtreecommitdiffstats
path: root/platform
diff options
context:
space:
mode:
authorbruvzg <7645683+bruvzg@users.noreply.github.com>2024-03-10 11:04:26 +0200
committerbruvzg <7645683+bruvzg@users.noreply.github.com>2024-03-10 11:04:26 +0200
commit2cd4a4e7e2277dea4e65e80ac89870d65f47d99c (patch)
treed90b2421fdf1f88c9f76459682abd6e5c2e0da08 /platform
parent0ace0a129284ffc6646b199699c1607a316fcec0 (diff)
downloadredot-engine-2cd4a4e7e2277dea4e65e80ac89870d65f47d99c.tar.gz
[iOS] Restore backward compatibility with old export templates.
Diffstat (limited to 'platform')
-rw-r--r--platform/ios/export/export_plugin.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/platform/ios/export/export_plugin.cpp b/platform/ios/export/export_plugin.cpp
index 91d75b0629..00473165fd 100644
--- a/platform/ios/export/export_plugin.cpp
+++ b/platform/ios/export/export_plugin.cpp
@@ -416,6 +416,10 @@ void EditorExportPlatformIOS::_fix_config_file(const Ref<EditorExportPreset> &p_
} else if (lines[i].find("$pbx_launch_screen_build_reference") != -1) {
String value = "90DD2D9E24B36E8000717FE1 /* Launch Screen.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 90DD2D9D24B36E8000717FE1 /* Launch Screen.storyboard */; };";
strnew += lines[i].replace("$pbx_launch_screen_build_reference", value) + "\n";
+#ifndef DISABLE_DEPRECATED
+ } else if (lines[i].find("$pbx_launch_image_usage_setting") != -1) {
+ strnew += lines[i].replace("$pbx_launch_image_usage_setting", "") + "\n";
+#endif
} else if (lines[i].find("$launch_screen_image_mode") != -1) {
int image_scale_mode = p_preset->get("storyboard/image_scale_mode");
String value;