Skip to content

Fix: Exclude default ignored files and xcconfigs from synced folder membership#1618

Open
4brunu wants to merge 2 commits intoyonaskolb:masterfrom
4brunu:fix/synced-folder-membership-exceptions
Open

Fix: Exclude default ignored files and xcconfigs from synced folder membership#1618
4brunu wants to merge 2 commits intoyonaskolb:masterfrom
4brunu:fix/synced-folder-membership-exceptions

Conversation

@4brunu
Copy link
Copy Markdown
Contributor

@4brunu 4brunu commented Apr 16, 2026

This PR fixes an issue where system files (like .DS_Store) and configuration files (like .xcconfig) were being incorrectly added to target membership when using the syncedFolder source type.

In SourceGenerator.swift, the isDefaultExcluded check was remove, because it was causing default excluded files to be skipped instead of being added to the membershipExceptions set.

Also added unit tests to verify that this works.

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