Bug: xcschemes.top_level_anchor_target
fails for *_build_test
if the library was merged into another top-level-target
#2951
Labels
bug
Something isn't working
Milestone
Description
Since 6f65b40 we can now list
*_build_test
targets inxcschemes.top_level_anchor_target
macros. But if the*_build_test
target is for a library that has merged into another top-level target, then we get an error like this:Where
@@//Lib:Lib ios_sim_arm64-dbg-ios-sim_arm64-min15.0-applebin_ios-ST-a89b5310e066
is the library target that was merged into@@//Lib/dist/dynamic:iOS ios_sim_arm64-dbg-ios-sim_arm64-min15.0-applebin_ios-ST-a89b5310e066
, but also referenced by@@//Lib:ios_Lib
(which is anios_build_test
).Reproduction steps
Change
minimum_os_version
to15.0
on//Lib:ios_Lib
inexamples/integation
. Thenbazel run //:xcodeproj-incremental-bazel-sim_arm64
.Expected behavior
Project generates without an error.
rules_xcodeproj version
871632e
Xcode version
N/A
Bazel version
N/A
rules_apple version
No response
rules_swift version
No response
Additional information
No response
The text was updated successfully, but these errors were encountered: