diff options
author | Pedro J. Estébanez <pedrojrulez@gmail.com> | 2021-05-25 10:26:54 +0200 |
---|---|---|
committer | Pedro J. Estébanez <pedrojrulez@gmail.com> | 2021-05-25 10:26:54 +0200 |
commit | 1534b4e65e9ad63a52fb4ad21e67d9487326460c (patch) | |
tree | 354591afa2a739db23889e6d897f49a6c8be2541 /platform/iphone | |
parent | af03e9c83018b47cb82da67e5f8e277b29b82d66 (diff) | |
download | redot-engine-1534b4e65e9ad63a52fb4ad21e67d9487326460c.tar.gz |
Set schemes' build config to debug/release in iOS Xcode export
Diffstat (limited to 'platform/iphone')
-rw-r--r-- | platform/iphone/export/export.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/platform/iphone/export/export.cpp b/platform/iphone/export/export.cpp index 36566dffbf..08ad77e940 100644 --- a/platform/iphone/export/export.cpp +++ b/platform/iphone/export/export.cpp @@ -448,6 +448,8 @@ void EditorExportPlatformIOS::_fix_config_file(const Ref<EditorExportPreset> &p_ strnew += lines[i].replace("$copyright", p_preset->get("application/copyright")) + "\n"; } else if (lines[i].find("$team_id") != -1) { strnew += lines[i].replace("$team_id", p_preset->get("application/app_store_team_id")) + "\n"; + } else if (lines[i].find("$default_build_config") != -1) { + strnew += lines[i].replace("$default_build_config", p_debug ? "Debug" : "Release") + "\n"; } else if (lines[i].find("$export_method") != -1) { int export_method = p_preset->get(p_debug ? "application/export_method_debug" : "application/export_method_release"); strnew += lines[i].replace("$export_method", export_method_string[export_method]) + "\n"; |