MobileNativeFoundation / MobileNativeFoundation/rules_xcodeproj
Feature Request: Auto-discovery of top-level targets
Nobody has claimed this yet.
- Dominant language
- Swift
- Stars
- 626
- Forks
- 124
- PR merge metrics
- No merged PRs in 30d
Description
In our current project generator, top-level targets are auto-discovered based on the provided target kinds. For example, if we request ios_application and ios_unit_test in the //path/to/package package, all ios_application and ios_unit_test targets defined in that package will be included in the generated project. The motivation is to remove the need to update the xcodeproj target whenever someone adds a new target.
The xcodeproj rule currently requires top-level targets to be explicitly specified via the top_level_targets attribute.
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.
Research direction
Start at the xcodeproj rule and its top_level_targets attribute, then trace how target kinds are currently used for project generation. Define how automatic discovery should select all matching targets in the package and how that interacts with explicit top-level targets. Done means new matching targets are included without updating the xcodeproj target configuration.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- swift
- Domain
- build-system
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100