adryanev
## What happens `0.10.4` cannot be resolved by SwiftPM at all. Any package depending on it fails with: ``` Invalid manifest ... /Package.swift 'v2' is unavailable PackageDescription.SupportedPlatform.VisionOSVersion.v2 @available(_PackageDescription 6.0) public static let v2: PackageDescription.SupportedPlatform.VisionOSVersion 'v2' was introduced in PackageDescription 6.0 ``` ## Cause `Package.swift` declares: ```swift // swift-tools-version:5.9 ... platforms: [ .macOS(.v12), .iOS(.v15), .tvOS(.v15), .watchOS(.v9), .visionOS(.v2) ], ``` `.visionOS(.v2)` is gated behind `@available(_PackageDescription 6.0)`, so it is not available to a manifest declaring tools version 5.9. The manifest is therefore invalid for every consumer, regardless of their Xcode version. Introduced by c8671332 ("bump min supported versions (forced by xcode)"), which is the last commit in the `0.10.4` tag. Its parent, fc586d8ee, resolves fine. The `0.10.5` default branch currently carries the same manifest. ## Reproduction Minimal package, no other dependencies: ```swift // swift-tools-version:5.9 import PackageDescription let package = Package( name: "ViCheck", platforms: [.iOS(.v15), .macOS(.v12)], dependencies: [.package(url: "https://github.com/nalexn/ViewInspector", exact: "0.10.4")], targets: [.target(name: "ViCheck", dependencies: [.product(name: "ViewInspector", package: "ViewInspector")])] ) ``` `swift package resolve` fails with the error above. Reproduced with Xcode 27.1 (Swift 6.3). ## Suggested fix Either raise the manifest to `// swift-tools-version:6.0`, or keep 5.9 and drop back to `.visionOS(.v1)`. This currently blocks upgrading from 0.10.3, which is unfortunate because 0.10.4 carries the `GeometryProxy` fix for #422 and the other iOS 27 introspection fixes.