[iOS] Restore backward compatibility with old export templates.
This commit is contained in:
parent
0ace0a1292
commit
2cd4a4e7e2
@ -416,6 +416,10 @@ void EditorExportPlatformIOS::_fix_config_file(const Ref<EditorExportPreset> &p_
|
|||||||
} else if (lines[i].find("$pbx_launch_screen_build_reference") != -1) {
|
} 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 */; };";
|
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";
|
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) {
|
} else if (lines[i].find("$launch_screen_image_mode") != -1) {
|
||||||
int image_scale_mode = p_preset->get("storyboard/image_scale_mode");
|
int image_scale_mode = p_preset->get("storyboard/image_scale_mode");
|
||||||
String value;
|
String value;
|
||||||
|
Loading…
Reference in New Issue
Block a user