From abf13f2a6ee98e98bcdcc6ce18f949d2f58b5f70 Mon Sep 17 00:00:00 2001 From: Joseph Werle Date: Mon, 13 Jan 2025 08:04:54 -0500 Subject: [PATCH] fix(cli): set 'ios_distribution_method' default --- src/cli/main.cc | 3 +++ src/cli/templates.hh | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/src/cli/main.cc b/src/cli/main.cc index 72b8fcd974..e69aa89af1 100644 --- a/src/cli/main.cc +++ b/src/cli/main.cc @@ -4902,6 +4902,9 @@ int main (int argc, char* argv[]) { } } + if (settings["ios_distribution_method"].empty()) { + settings["ios_distribution_method"] = ""; + } writeFile(paths.platformSpecificOutputPath / "exportOptions.plist", tmpl(gXCodeExportOptions, settings)); writeFile(paths.platformSpecificOutputPath / "Info.plist", tmpl(gIOSInfoPList, settings)); writeFile(pathToProject / "project.pbxproj", tmpl(gXCodeProject, xCodeProjectVariables)); diff --git a/src/cli/templates.hh b/src/cli/templates.hh index 6906879713..9570e1cd6d 100644 --- a/src/cli/templates.hh +++ b/src/cli/templates.hh @@ -1196,7 +1196,7 @@ constexpr auto gIOSInfoPList = R"XML( {{meta_bundle_identifier}} CFBundleDisplayName - {{build_name}} + {{meta_title}} CFBundleName {{build_name}}