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

Error in new_executable_binary_provider: Key 'objc' no longer needed in AppleExecutableBinaryInfo. #2401

Closed
sgowroji opened this issue Jan 8, 2024 · 3 comments · Fixed by #2436

Comments

@sgowroji
Copy link
Member

sgowroji commented Jan 8, 2024

CI: https://buildkite.com/bazel/bazel-at-head-plus-downstream/builds/3575#018ce73b-3e56-422e-9c16-9cc95d841d10

Platform: MacOS

Logs:

Traceback (most recent call last):
	File "/private/var/tmp/_bazel_buildkite/39c780fe1ff5114aafdfff786ba27513/external/build_bazel_rules_apple/apple/internal/ios_rules.bzl", line 497, column 52, in _ios_application_impl
		apple_common.new_executable_binary_provider(
Error in new_executable_binary_provider: Key 'objc' no longer needed in AppleExecutableBinaryInfo.```

Steps:

git clone https://github.com/bazelbuild/rules_rust.git
git reset df73e91dee261ba91057ac390ebaf9501e6dbfd1 --hard
export USE_BAZEL_VERSION=8e8ddaba0e90c280bfd85644d6ccd91df5b6d353
examples/ios
bazel build //... 

Culprit : bazelbuild/bazel@67c5c0f

CC Greenteam @fweikert

@sgowroji
Copy link
Member Author

CC @UebelAndre , @illicitonion

@illicitonion
Copy link
Collaborator

This is due to using rules_apple - I tried with the latest rules_apple release and saw the same issue.

@keith is there a plan to remove https://github.com/bazelbuild/rules_apple/blob/d5d6d58af8b96365e9b9a9d093d4fb4b2f4dd912/apple/internal/macos_rules.bzl#L441?

@keith
Copy link
Member

keith commented Jan 17, 2024

actually fixed in bazelbuild/rules_apple#2356 but I need to make a release

illicitonion added a commit to illicitonion/rules_rust that referenced this issue Jan 22, 2024
illicitonion added a commit that referenced this issue Jan 22, 2024
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