Commit 1c68e6c
authored
Add VisionOS platform support to
#### 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 targetPIF.PlatformFilter (#7448)1 parent 812fa45 commit 1c68e6c
1 file changed
+11
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1583 | 1583 | | |
1584 | 1584 | | |
1585 | 1585 | | |
| 1586 | + | |
| 1587 | + | |
| 1588 | + | |
1586 | 1589 | | |
1587 | 1590 | | |
1588 | 1591 | | |
| |||
1671 | 1674 | | |
1672 | 1675 | | |
1673 | 1676 | | |
| 1677 | + | |
| 1678 | + | |
| 1679 | + | |
| 1680 | + | |
| 1681 | + | |
| 1682 | + | |
| 1683 | + | |
| 1684 | + | |
1674 | 1685 | | |
1675 | 1686 | | |
1676 | 1687 | | |
| |||
0 commit comments