Skip to content

Commit abf13f2

Browse files
committed
fix(cli): set 'ios_distribution_method' default
1 parent ea23296 commit abf13f2

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

src/cli/main.cc

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4902,6 +4902,9 @@ int main (int argc, char* argv[]) {
49024902
}
49034903
}
49044904

4905+
if (settings["ios_distribution_method"].empty()) {
4906+
settings["ios_distribution_method"] = "";
4907+
}
49054908
writeFile(paths.platformSpecificOutputPath / "exportOptions.plist", tmpl(gXCodeExportOptions, settings));
49064909
writeFile(paths.platformSpecificOutputPath / "Info.plist", tmpl(gIOSInfoPList, settings));
49074910
writeFile(pathToProject / "project.pbxproj", tmpl(gXCodeProject, xCodeProjectVariables));

src/cli/templates.hh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1196,7 +1196,7 @@ constexpr auto gIOSInfoPList = R"XML(<?xml version="1.0" encoding="UTF-8"?>
11961196
<string>{{meta_bundle_identifier}}</string>
11971197
11981198
<key>CFBundleDisplayName</key>
1199-
<string>{{build_name}}</string>
1199+
<string>{{meta_title}}</string>
12001200
12011201
<key>CFBundleName</key>
12021202
<string>{{build_name}}</string>

0 commit comments

Comments
 (0)