-
Notifications
You must be signed in to change notification settings - Fork 33
Open
Description
70780c4 introduced
- .visionOS(.v1),
+ .visionOS(.v2),
This is not available in swift-tools-version:5.9 but requires swift-tools-version:6.0 that means the current Package.swift does not work.
swift package resolve
...
Specs/Package.swift:11:20: error: 'v2' is unavailable
9 | .macCatalyst(.v14),
10 | .tvOS(.v17),
11 | .visionOS(.v2),
| `- error: 'v2' is unavailable
12 | ],
13 | products: [
PackageDescription.SupportedPlatform.VisionOSVersion.v2:4:23: note: 'v2' was introduced in PackageDescription 6.0
2 | struct VisionOSVersion {
3 | @available(_PackageDescription 6.0)
4 | public static let v2: SupportedPlatform.VisionOSVersion }
| `- note: 'v2' was introduced in PackageDescription 6.0
5 | }
6 |
Using either .v1 or swift-tools-version:6.0 fixes the problem, the latter changes the requirements for the consumers, and and there was probably a reason for the bump to .v2.
Right now it does not work at all, bumping to swift-tools-version to 6.0 changes the requirements for the consumers of the library but at least the package would work again, vs having a package which does not work but 'works' on older systems.
andrew-sosna-napster
Metadata
Metadata
Assignees
Labels
No labels