You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-13 13:31:48 +00:00
Set schemes' build config to debug/release in iOS Xcode export
This commit is contained in:
@@ -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";
|
||||
|
||||
Reference in New Issue
Block a user