Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

iOS example failing using Bazel version 4.4.0 #206

Open
yishuiliunian opened this issue May 20, 2021 · 2 comments
Open

iOS example failing using Bazel version 4.4.0 #206

yishuiliunian opened this issue May 20, 2021 · 2 comments

Comments

@yishuiliunian
Copy link

the error:


DEBUG: Rule 'build_bazel_rules_apple' indicated that a canonical reproducible form can be obtained by modifying arguments commit = "adc96e1667416502ca87ccf888b6612821b37a3d", shallow_since = "1522244844 -0400" and dropping ["tag"]
DEBUG: Repository build_bazel_rules_apple instantiated at:
  /Users/dongzhao/temp/examples/tutorial/WORKSPACE:3:15: in <toplevel>
Repository rule git_repository defined at:
  /private/var/tmp/_bazel_dongzhao/baef564110325a4d5a625796701764d5/external/bazel_tools/tools/build_defs/repo/git.bzl:199:33: in <toplevel>
ERROR: Traceback (most recent call last):
	File "/private/var/tmp/_bazel_dongzhao/baef564110325a4d5a625796701764d5/external/build_bazel_rules_apple/apple/bundling/entitlements.bzl", line 300, column 35, in <toplevel>
		"entitlements": attr.label(
Error in label: label() got unexpected keyword argument 'single_file'
ERROR: Skipping '//ios-app:ios-app': error loading package 'ios-app': in /private/var/tmp/_bazel_dongzhao/baef564110325a4d5a625796701764d5/external/build_bazel_rules_apple/apple/ios.bzl: in /private/var/tmp/_bazel_dongzhao/baef564110325a4d5a625796701764d5/external/build_bazel_rules_apple/apple/bundling/binary_support.bzl: Extension file 'apple/bundling/entitlements.bzl' has errors
WARNING: Target pattern parsing failed.
ERROR: error loading package 'ios-app': in /private/var/tmp/_bazel_dongzhao/baef564110325a4d5a625796701764d5/external/build_bazel_rules_apple/apple/ios.bzl: in /private/var/tmp/_bazel_dongzhao/baef564110325a4d5a625796701764d5/external/build_bazel_rules_apple/apple/bundling/binary_support.bzl: Extension file 'apple/bundling/entitlements.bzl' has errors
INFO: Elapsed time: 0.060s
INFO: 0 processes.
@VegetarianZombie
Copy link

Doesn't work in bazel 5.0.0 either.

My favorite part of learning this build system is discovering all the tutorials and examples are all flat-out broken.

@anuragajwani
Copy link

still unable to build the tutorial source code. The tutorial points to version 0.9.0 at the time of writing. This version seems to be around 4 years old.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants