rules_apple
rules_apple copied to clipboard
[Feature Request] Support Asset Catalog compiler optimization
Xcode has a ASSETCATALOG_COMPILER_OPTIMIZATION build setting that:
With no value, the compiler uses the default optimization. You can also specify
timeto optimize for speed of access orspaceto 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.
Related: https://github.com/bazelbuild/rules_apple/issues/732
Huh I wonder what the default flag is, it looks like that build setting defaults to nothing, and passes --optimization time or --optimization space based on the value.
Strangely I tried this on a large asset catalog of ours (22mbs) and it didn't seem to have any impact on performance or size