bazelbuild / bazelbuild/rules_apple

[Feature Request] Support Asset Catalog compiler optimization

Open
#852 2 comments 3 reactions 0 assignees View on GitHub
P3
Dominant language
Starlark
Stars
593
Forks
334
Avg merge
16h 48m
Merged PRs (30d)
9

Description

Xcode has a `ASSETCATALOG_COMPILER_OPTIMIZATION` build setting that:

> With no value, the compiler uses the default optimization. You can also specify `time` to optimize for speed of access or `space` to optimize for a smaller compiled asset catalogs.

I'd like to request to add an option specify the optimization value of `actool`. [Buck already does it](https://github.com/facebook/buck/pull/1016).

Contributor guide

Open the contributing guide

Research direction

The issue does not name a file or test. Start by locating asset-catalog handling in rules_apple and the actool invocation, then trace how existing compiler options are exposed. Done means adding the requested optimization value and verifying the supported values in tests.

Written by the indexing model from the issue text.

Assessment

Domain
build-system
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.