MobileNativeFoundation / MobileNativeFoundation/rules_xcodeproj

Feature request: Add folder reference support (PBXFileReference with folder semantics)

Open
#3,281 1 comment 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

feature request
Dominant language
Swift
Stars
626
Forks
124
PR merge metrics
No merged PRs in 30d

Description

rules_xcodeproj currently models most directories as Xcode groups. Have we considered support for generating Xcode folder references (aka blue folders) for selected paths? Assuming it's most common to specify sources as a glob (i.e. 'Sources/**/*.swift') Using folder references would allow Xcode to immediately show the correct state after switching branches or adding/removing/moving files. Currently we need to re-generate the project.

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.

Research direction

The issue does not name implementation files or tests. Start by tracing how rules_xcodeproj turns source globs such as Sources/**/*.swift into Xcode groups, then determine how selected paths should opt into folder references. Done means generated projects use blue folder references where requested and Xcode reflects file changes without regeneration.

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.