MobileNativeFoundation / rules_xcodeproj

Bazel rules for generating Xcode projects.
MIT License
520 stars 82 forks source link

[Incremental] Bug: `library_targets` required for `top_level_anchor_target`, docs show `None` as an option #2827

Closed erikkerber closed 8 months ago

erikkerber commented 9 months ago

Description

Defining a top_level_anchor_target without library_targets results in:

library_targets must be non-empty for `xcscheme.top_level_anchor_target

Docs show it is not a required field

Reproduction steps

(Description)

Expected behavior

Either library_targets is optional, or docs reflect that it is not.

rules_xcodeproj version

1.14.0

Xcode version

15.1

Bazel version

7

rules_apple version

No response

rules_swift version

No response

Additional information

No response

brentleyjones commented 9 months ago

It is required. It's the point of that version versus the non-anchor one.

None isn't an option, it's just the default. Actually, it's not the default. none != None.

brentleyjones commented 8 months ago

I don't think there is an actual issue here. Please let me know if I am misunderstanding though.