Skip to content

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

Open

Description

@meyers-oai

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.

Activity

  1. adincebic commented on Feb 23, 2026

    @adincebic
    Contributor

    @meyers-oai I have it on my todo list since forever. However it may be trickier than one might think due to how bazel handles globs in analysis phase. I believe @brentleyjones expressed that concern a while ago on Bazel Slack.

  2. SoKamil commented on Oct 1, 2026

    @SoKamil

    +1

    While working with agents, it's pain to go back to Xcode and discover that you cannot open created file.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions