You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
destinationFilters are silently ignored for syncedFolder sources (no platformFiltersByRelativePath emitted) #1646
destinationFilters on a TargetSource work for regular (group) sources: each file gets platformFilters on its PBXBuildFile. For type: syncedFolder the same key is silently ignored, so every file in the folder compiles for all destinations of the target.
Xcode itself supports per-file platform filters inside synced folders via platformFiltersByRelativePath on PBXFileSystemSynchronizedBuildFileExceptionSet, and the bundled XcodeProj already models that field (tuist/XcodeProj#1065, in XcodeProj 9.8.0+).
and the visionOS build does not compile AppDelegate.swift.
Actual
membershipExceptions are emitted from excludes/includes, but there is no platformFiltersByRelativePath at all.
Building for visionOS compiles AppDelegate.swift and fails with 'UIScreen' is unavailable in visionOS. No warning that the key is ignored.
I verified that Xcode honors a hand-written platformFiltersByRelativePath in the generated project (Xcode 26.5): the filtered files are skipped on the other platform for both iOS and visionOS builds.
Folder keys are not honored by Xcode, only file paths, so the generator would need to enumerate matching files the same way syncedFolderExceptions already does for excludes.
Activity