-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cherry pick "Add support for alternate app icons in UIKit via actool in Xcode 14+..." #5
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -149,6 +149,7 @@ def _asset_catalogs( | |
output_discriminator, | ||
parent_dir, | ||
platform_prerequisites, | ||
primary_icon_name, | ||
product_type, | ||
rule_label, | ||
**_kwargs): | ||
|
@@ -159,7 +160,6 @@ def _asset_catalogs( | |
assets_plist = None | ||
infoplists = [] | ||
if not parent_dir: | ||
# TODO(kaipi): Merge this into the top level Info.plist. | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. [question] Why remove this TODO? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I don't know. This is a clean cherry-pick of the original commit 6fc1952, with only formatting and docs being changed from my side (through repo's automation). |
||
assets_plist_path = paths.join(parent_dir or "", "xcassets-info.plist") | ||
assets_plist = intermediates.file( | ||
actions = actions, | ||
|
@@ -211,6 +211,7 @@ def _asset_catalogs( | |
output_dir = assets_dir, | ||
output_plist = assets_plist, | ||
platform_prerequisites = platform_prerequisites, | ||
primary_icon_name = primary_icon_name, | ||
product_type = product_type, | ||
rule_label = rule_label, | ||
xctoolrunner = apple_mac_toolchain_info.xctoolrunner, | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
[question] Is this safe and backward compatible?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It gotta be. I assume it wouldn't have landed in upstream otherwise.
Btw, this is a clean cherry-pick of the original commit 6fc1952, with only formatting and docs being changed from my side (through repo's automation).