Bug: Resources from unfocused targets are appearing in the project
CognitiveDisson opened this issue · 0 comments
CognitiveDisson commented
Description
If I include ios_application
in focused_targets
, the generated project will contain resources from the transitive libraries of this ios_application
.
Reproduction steps
xcodeproj(
...
top_level_targets = ["//iOSApp/Source:iOSApp"],
focused_targets = [
"//iOSApp/Source:iOSApp",
],
)
I reproduced this issue in the example project by adding resources to MixedAnswerLib_Swift
and modifying the xcodeproj
target. Here.
In this screenshot, you can see that the project contain xcassets resources for the MixedAnswerLib_Swift
target, but MixedAnswerLib_Swift
not in focused_targets
list.
Expected behavior
The project do not include resources from transitive dependencies of focused_targets
.
rules_xcodeproj version
main
Xcode version
15.1
Bazel version
7.1.0
rules_apple version
No response
rules_swift version
No response
Additional information
No response