Skip to content

feat: add platformFiltersByRelativePath to exception sets#1065

Merged
fortmarek merged 1 commit into
mainfrom
feat/platform-filters-by-relative-path
Feb 20, 2026
Merged

feat: add platformFiltersByRelativePath to exception sets#1065
fortmarek merged 1 commit into
mainfrom
feat/platform-filters-by-relative-path

Conversation

@fortmarek
Copy link
Copy Markdown
Member

Summary

  • Add platformFiltersByRelativePath: [String: [String]]? property to PBXFileSystemSynchronizedBuildFileExceptionSet
  • Follows the same pattern as the existing attributesByRelativePath property
  • Enables per-file platform filters on synchronized build file exception sets (e.g. restricting specific resources to iOS or tvOS)

Test plan

  • Added unit tests for property storage and equality
  • All existing tests pass (swift test --filter PBXFileSystemSynchronizedBuildFileExceptionSetTests)

🤖 Generated with Claude Code

…leExceptionSet

Support per-file platform filters on synchronized build file exception
sets, following the same pattern as the existing
attributesByRelativePath property. This maps relative file paths to
arrays of platform filter strings (e.g. "ios", "tvos"), enabling
multi-platform targets with platform-specific resources in buildable
folders.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@fortmarek fortmarek force-pushed the feat/platform-filters-by-relative-path branch from e4ab0e7 to 895e88a Compare February 20, 2026 10:42
@fortmarek fortmarek changed the title Add platformFiltersByRelativePath to exception sets feat: add platformFiltersByRelativePath to exception sets Feb 20, 2026
@fortmarek fortmarek marked this pull request as ready for review February 20, 2026 10:52
@fortmarek fortmarek requested a review from pepicrft February 20, 2026 10:52
@dosubot dosubot Bot added the size:M This PR changes 30-99 lines, ignoring generated files. label Feb 20, 2026
@dosubot
Copy link
Copy Markdown

dosubot Bot commented Feb 20, 2026

Related Documentation

Checked 1 published document(s) in 1 knowledge base(s). No updates required.

How did I do? Any feedback?  Join Discord

@dosubot dosubot Bot added the lgtm This PR has been approved by a maintainer label Feb 20, 2026
@fortmarek fortmarek merged commit 15e6db1 into main Feb 20, 2026
9 of 11 checks passed
@fortmarek fortmarek deleted the feat/platform-filters-by-relative-path branch February 20, 2026 11:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

lgtm This PR has been approved by a maintainer size:M This PR changes 30-99 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants