Bazel 8 crash when building ios_application
at the root
#24625
Labels
P2
We'll consider working on this in future. (Assignee optional)
team-Rules-API
API for writing rules/aspects: providers, runfiles, actions, artifacts
team-Rules-ObjC
Issues for Objective-C maintainers
type: bug
Description of the bug:
When building an iOS app using Bazel 8.0.0 and rules_apple 3.16.0, Bazel crashes with the following output:
Following the main rules_apple tutorial in doc/tutorials/ios-app.md is enough to reproduce the issue.
I also found that if the
ios_application
is not at the root then this crash doesn't occur: e.g.//foo:iOSApp
Also using Bazel 7.4.1 works fine. 8.0.0rc1 also crashes in the same way.
Which category does this issue belong to?
No response
What's the simplest, easiest way to reproduce this bug? Please provide a minimal example if possible.
Following the main rules_apple tutorial in doc/tutorials/ios-app.md is enough to reproduce the issue.
Which operating system are you running Bazel on?
macOS 15.1.1 (24B2091)
What is the output of
bazel info release
?release 8.0.0
If
bazel info release
returnsdevelopment version
or(@non-git)
, tell us how you built Bazel.No response
What's the output of
git remote get-url origin; git rev-parse HEAD
?No response
If this is a regression, please try to identify the Bazel commit where the bug was introduced with bazelisk --bisect.
No response
Have you found anything relevant by searching the web?
Originally reported here: bazelbuild/rules_apple#2619
Any other information, logs, or outputs that you want to share?
No response
The text was updated successfully, but these errors were encountered: