MobileNativeFoundation / MobileNativeFoundation/rules_xcodeproj
Feature Request: Add ability to provide custom sorting of group children
Nobody has claimed this yet.
- Dominant language
- Swift
- Stars
- 626
- Forks
- 124
- PR merge metrics
- No merged PRs in 30d
Description
We organize our modules into layers where each layer can only import code from the layer “below” it. In our current generated project file we sort those layer folders to reflect that hierarchy. We'd like to be able to provide custom sorting logic for specific Xcode project groups to communicate that hierarchy to developers in the project structure.
Here's our existing XcodeGen customization:
options:
groupOrdering:
- order:
- ConsumerApp
- Packages
- CommonPackages
- pattern: "Packages"
order:
- AppClip
- AppIntegration
- LegacyApp
- Modules
- Routing
- DomainInterfaces
- Services
- Capabilities
- Networking
- Foundation
- Resources
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
No repository files or tests are named; start by locating the Xcode project generation entry point and the code that orders group children. Compare the requested top-level and pattern-specific order rules against current generated output; done means generated groups follow the configured custom ordering.
Written by the indexing model from the issue text.
Assessment
- Domain
- build-system
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100