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}}