Skip to content
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

Conversation

vakhidbetrakhmadov
Copy link

Cherry pick: 6fc1952
Resolve: bazelbuild#1261
Follow up: bazelbuild#2291
Mirror: bazelbuild#2505

…(first introduced in 13).

PiperOrigin-RevId: 578548155
@@ -2518,6 +2519,7 @@ ios_application = rule_factory.create_apple_rule(
rule_attrs.app_icon_attrs(
icon_extension = ".appiconset",
icon_parent_extension = ".xcassets",
supports_alternate_icons = True,
Copy link
Member

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?

Copy link
Author

@vakhidbetrakhmadov vakhidbetrakhmadov Jul 26, 2024

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).

@@ -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.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[question] Why remove this TODO?

Copy link
Author

@vakhidbetrakhmadov vakhidbetrakhmadov Jul 26, 2024

Choose a reason for hiding this comment

The 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).

@acecilia acecilia merged commit a74803a into revolut-mobile:master Jul 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

Support Alternate Icons in Asset Catalogs (Xcode 13+)
3 participants