Skip to content

Commit

Permalink
fix(cli): set 'ios_distribution_method' default
Browse files Browse the repository at this point in the history
  • Loading branch information
jwerle committed Jan 13, 2025
1 parent ea23296 commit abf13f2
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions src/cli/main.cc
Original file line number Diff line number Diff line change
Expand Up @@ -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));
Expand Down
2 changes: 1 addition & 1 deletion src/cli/templates.hh
Original file line number Diff line number Diff line change
Expand Up @@ -1196,7 +1196,7 @@ constexpr auto gIOSInfoPList = R"XML(<?xml version="1.0" encoding="UTF-8"?>
<string>{{meta_bundle_identifier}}</string>
<key>CFBundleDisplayName</key>
<string>{{build_name}}</string>
<string>{{meta_title}}</string>
<key>CFBundleName</key>
<string>{{build_name}}</string>
Expand Down

0 comments on commit abf13f2

Please sign in to comment.