Skip to content

Commit

Permalink
Default minimum_deployment_os_version to minimum_os_version
Browse files Browse the repository at this point in the history
This handles custom rules that don't set `minimum_deployment_os_version `.
  • Loading branch information
brentleyjones committed Jul 20, 2022
1 parent e70af1c commit 5906698
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion xcodeproj/internal/top_level_targets.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,11 @@ def process_top_level_properties(
if bundle_info:
bundle_name = bundle_info.bundle_name
executable_name = getattr(bundle_info, "executable_name", bundle_name)
minimum_deployment_version = bundle_info.minimum_deployment_os_version
minimum_deployment_version = getattr(
bundle_info,
"minimum_deployment_os_version",
bundle_info.minimum_os_version,
)
product_name = bundle_name
product_type = bundle_info.product_type

Expand Down

0 comments on commit 5906698

Please sign in to comment.