Closed CognitiveDisson closed 2 months ago
If you specify multiple associated extra files with one target, only the last one will be presented in the Xcode project. Fo example:
ASSOCIATED_EXTRA_FILES = { "//iOSApp/Source:iOSApp": ["//iOSApp:ownership.yaml", "//iOSApp:info.yaml"], }
The Xcode project will contain info.yaml, but it won't include ownership.yaml.
You can reproduce this on example project.
examples/integration/iOSApp/ownership.yaml
examples/integration/iOSApp/BUILD
exports_files(["ownership.yaml", "info.yaml"])
ASSOCIATED_EXTRA_FILES
"//iOSApp/Source:iOSApp": ["//iOSApp:ownership.yaml", "//iOSApp:info.yaml"],
bazelisk run --config=cache //:xcodeproj-incremental-bazel-sim_arm64
xed Integration.xcodeproj
ownership.yaml
All associated extra files presented in the project.
516c3dd1f2eff13a3a2077c02a9e5aa914854aba
15.1
7.1
No response
Description
If you specify multiple associated extra files with one target, only the last one will be presented in the Xcode project. Fo example:
The Xcode project will contain info.yaml, but it won't include ownership.yaml.
Reproduction steps
You can reproduce this on example project.
examples/integration/iOSApp/ownership.yaml
file.examples/integration/iOSApp/BUILD
:exports_files(["ownership.yaml", "info.yaml"])
.ASSOCIATED_EXTRA_FILES
list:"//iOSApp/Source:iOSApp": ["//iOSApp:ownership.yaml", "//iOSApp:info.yaml"],
.bazelisk run --config=cache //:xcodeproj-incremental-bazel-sim_arm64
.xed Integration.xcodeproj
.ownership.yaml
.Expected behavior
All associated extra files presented in the project.
rules_xcodeproj version
516c3dd1f2eff13a3a2077c02a9e5aa914854aba
Xcode version
15.1
Bazel version
7.1
rules_apple version
No response
rules_swift version
No response
Additional information
No response