MobileNativeFoundation / MobileNativeFoundation/rules_xcodeproj
Bug: Only a single target's param files are processed in each Index Build
@brentleyjones is already working on this.
Since Jul 18, 2023.
- Dominant language
- Swift
- Stars
- 626
- Forks
- 124
- PR merge metrics
- No merged PRs in 30d
Description
Description
When Index Build runs in BwB mode, only a single target is built because of the reduced dependencies. We only process params files in the Create {Compile,Link} Dependencies build phases. This means that we only create or update the params files for a single target per Index Build.
This in itself isn't too bad, because Xcode will normally run Index Build for each target. But it can run into issues when params change and Xcode is at the point when it's only running a Index Build per file save. In this case, all dependencies of that target won't get updated params files.
Reproduction steps
N/A
Expected behavior
The params files for the target and all dependencies should be processed in each Index Build. This ensures that dependencies have their params files updated as expected.
rules_xcodeproj version
1.8.1
Xcode version
All
Bazel version
All
rules_apple version
No response
rules_swift version
No response
Additional information
No response
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.