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

Bazel ios example is failing at Bazel@HEAD in downstream CI #288

Closed
sgowroji opened this issue May 4, 2023 · 2 comments · Fixed by #289
Closed

Bazel ios example is failing at Bazel@HEAD in downstream CI #288

sgowroji opened this issue May 4, 2023 · 2 comments · Fixed by #289

Comments

@sgowroji
Copy link
Member

sgowroji commented May 4, 2023

https://buildkite.com/bazel/bazel-at-head-plus-downstream/builds/2997#0187e486-4407-4dd3-b26b-2b14c15c9513

Platform : Bazel Examples (tutorials (Bazel end-to-end example) on :mac: (OpenJDK 11, Xcode))

 ERROR: /Users/buildkite/builds/bk-imacpro-14/bazel-downstream-projects/examples/tutorial/ios-app/BUILD:19:16: in ios_application rule //ios-app:ios-app:
--
  | Traceback (most recent call last):
  | File "/private/var/tmp/_bazel_buildkite/b49fc1f9c5a865d3b96f0ff3908db6a2/external/build_bazel_rules_apple/apple/internal/ios_rules.bzl", line 187, column 66, in _ios_application_impl
  | debug_outputs = linking_support.debug_outputs_by_architecture(link_result.outputs)
  | File "/private/var/tmp/_bazel_buildkite/b49fc1f9c5a865d3b96f0ff3908db6a2/external/build_bazel_rules_apple/apple/internal/linking_support.bzl", line 45, column 68, in _debug_outputs_by_architecture
  | bitcode_symbol_maps[link_output.architecture] = link_output.bitcode_symbols
  | Error: 'apple_linking_output' value has no field or method 'bitcode_symbols'
  | Available attributes: architecture, binary, dsym_binary, environment, linkmap, platform
  | (06:06:24) ERROR: /Users/buildkite/builds/bk-imacpro-14/bazel-downstream-projects/examples/tutorial/ios-app/BUILD:19:16: Analysis of target '//ios-app:ios-app' failed
  | (06:06:24) ERROR: Analysis of target '//ios-app:ios-app' failed; build aborted:
ERROR: Analysis of target '//ios-app:ios-app' failed; build aborted: 

Steps followed :

  1. git clone https://github.com/bazelbuild/examples.git
  2. git reset c1d0fcc --hard
  3. export USE_BAZEL_VERSION=8087520b153832656695fef6f3654ed432642c98
  4. cd examples/tutorial/ios-app
  5. bazel build //ios-app

CC @meteorcloudy

@meteorcloudy
Copy link
Member

meteorcloudy commented May 4, 2023

rules_apple needs to be fixed and updated first.
bazelbuild/rules_apple#1956

@keith
Copy link
Member

keith commented May 5, 2023

#289

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

Successfully merging a pull request may close this issue.

3 participants