bazelbuild / bazelbuild/rules_apple
Support On-Demand Resources
- Dominant language
- Starlark
- Stars
- 593
- Forks
- 334
- Avg merge
- 16h 48m
- Merged PRs (30d)
- 9
Description
It seems `--enable-on-demand-resources YES` is not used anywhere in [actool.bzl](https://github.com/bazelbuild/rules_apple/blob/master/apple/internal/resource_actions/actool.bzl), so I believe [on-demand resources](https://developer.apple.com/library/archive/documentation/FileManagement/Conceptual/On_Demand_Resources_Guide/index.html#//apple_ref/doc/uid/TP40015083-CH2-SW1) are not supported currently.
It's probably non trivial to add the support, as it also requires generating a AssetPackOutputSpecifications.plist for `--asset-pack-output-specifications` argument.
Contributor guide
Research direction
Start by reading apple/internal/resource_actions/actool.bzl and the Apple On-Demand Resources documentation linked in the issue. Trace how actool arguments are assembled, then determine the required AssetPackOutputSpecifications.plist for --asset-pack-output-specifications. Done means the --enable-on-demand-resources flag is supported with the required asset-pack output configuration.
Written by the indexing model from the issue text.
Assessment
- Domain
- build-system
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 32/100