Skip to content

Commit 08f5805

Browse files
Remove analysis error in local_provisioning_profiles.bzl (#2542)
This can result in build failures that normally wouldn’t fail. At execution we get an error if profiles aren’t found, which is good enough. Signed-off-by: Brentley Jones <github@brentleyjones.com>
1 parent 35a2fb8 commit 08f5805

1 file changed

Lines changed: 0 additions & 2 deletions

File tree

apple/internal/local_provisioning_profiles.bzl

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -141,8 +141,6 @@ def _local_provisioning_profile(ctx):
141141
args.add_all("--local_profiles", ctx.files._local_srcs)
142142
if ctx.files._fallback_srcs:
143143
args.add_all("--fallback_profiles", ctx.files._fallback_srcs)
144-
if not ctx.files._local_srcs and not ctx.files._fallback_srcs:
145-
fail("Either local or fallback provisioning profiles must exist")
146144

147145
ctx.actions.run(
148146
executable = ctx.executable._finder,

0 commit comments

Comments
 (0)