Skip to content

Commit

Permalink
Fix bundle_id calculation in apple_precompiled_resource_bundle (#…
Browse files Browse the repository at this point in the history
…2574)

The default value would always be the same, which lead to bundle loading
issues.

Signed-off-by: Brentley Jones <[email protected]>
  • Loading branch information
brentleyjones authored Oct 29, 2024
1 parent 145b171 commit 784216c
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ def _apple_precompiled_resource_bundle_impl(ctx):
)

bundle_name = "{}.bundle".format(ctx.attr.bundle_name or label.name)
bundle_id = ctx.attr.bundle_id or "com.bazel.apple_precompiled_resource_bundle_".format(ctx.attr.bundle_name or label.name)
bundle_id = ctx.attr.bundle_id or "com.bazel.apple_precompiled_resource_bundle_{}".format(ctx.attr.bundle_name or label.name)

apple_resource_infos = []
process_args = {
Expand Down

0 comments on commit 784216c

Please sign in to comment.