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
Add VisionOS platform support to PIF.PlatformFilter (#7448)
#### Motivation:
In the process of generating PIF, I identified a missing case for
VisionOS in the implementation of the
`[PackageConditionProtocol].toPlatformFilters()`, which led to
assertionFailure when Package's platforms included VisionOS.
#### Modifications:
- Added a new case `.visionOS` in the switch statement within the
`toPlatformFilters()` extension for `[PackageCondition]`.
- Added a new static property `visionOSFilters` within
`PIF.PlatformFilter` to define filters specific to VisionOS.
#### Result:
With these changes, PIFBuilder can now generate PIF without errors for
packages that include VisionOS as a target
0 commit comments