rules_xcodeproj
rules_xcodeproj copied to clipboard
Feature Request: Co-locate Bazel Generated Files with targets
Curious how difficult it might be to co-locate the generated files (i.e genrule
or swift_proto_compile
sources) under the target's group in Xcode?
For example, in addition to the top-level group Bazel Generated Files
there could be a generated files group for a target package.
.
└── Modules/
├── Foo/
│ ├── Sources/
│ │ └── Baz.swift
│ └── Bazel Generated/
│ ├── <config_ios15>/
│ │ └── File_Genrule_Generated.swift
│ └── <config_ios16>/
│ └── File_Genrule_Generated.swift
└── Proto/
├── proto/
│ └── test.proto
└── Bazel Generated/
└── test.pb.swift
I've abbreviated the true output_base paths for brevity (but noted multiple potential configurations for a generated file with the config_ios15
and config_ios16
).
Unsure if this is really feasible, but thought I'd ask since it can currently be a bit tricky to find generated files in Xcode to inspect their contents.