MobileNativeFoundation / MobileNativeFoundation/rules_xcodeproj

Bug: Only a single target's param files are processed in each Index Build

Open
#2,377 0 comments 0 reactions 1 assignee View on GitHub

@brentleyjones is already working on this.

Since Jul 18, 2023.

bug BwB
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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.