Skip to content

files_and_groups: support synchronized folders - #3376

Open
erneestoc wants to merge 1 commit into
MobileNativeFoundation:mainfrom
erneestoc:ec/sync-folders-groups
Open

erneestoc wants to merge 1 commit into
MobileNativeFoundation:mainfrom
erneestoc:ec/sync-folders-groups

Conversation

@erneestoc

@erneestoc erneestoc commented Oct 9, 2026 •

Copy link
Copy Markdown
Contributor

First of three PRs adding Xcode 16 synchronized folders (PBXFileSystemSynchronizedRootGroup), split out of #3373.

files_and_groups takes an optional --synchronized-folders-file. Each folder in it becomes a PBXFileSystemSynchronizedRootGroup instead of a PBXFileReference, and file paths inside it are left out of the tree, since Xcode lists the folder's contents itself. The group's identifier depends only on its path (Identifiers.FilesAndGroups.synchronizedRootGroup), so targets written by other generators can reference it.

Nothing passes the flag yet, so generated projects don't change.

Next: #3377 (targets), then #3378 (the aspect hint that turns it on).

Adds an optional `--synchronized-folders-file` to `files_and_groups`.
Each folder in it is created as a `PBXFileSystemSynchronizedRootGroup`
(Xcode 16's buildable folders) in place of a `PBXFileReference`, and file
paths inside it are left out of the tree, since Xcode lists the folder's
contents itself.

The group's identifier only depends on its path
(`Identifiers.FilesAndGroups.synchronizedRootGroup`), so that targets
created by other generators can reference it.

Nothing passes the flag yet, so generated projects don't change.

Signed-off-by: Ernesto Cambuston <e.cambuston@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant