Skip to content

M144 tags fail to resolve — Package.swift uses .visionOS(.v26) but declares swift-tools-version:5.9 #31

Description

@byhkalo

@cloudwebrtc @hiroshihorie @davidliu

All M144 tags (144.7559.01, .04, .08, .09, .10) have an inconsistent Package.swift: the manifest declares // swift-tools-version:5.9, but the platforms list uses .visionOS(.v26), which was only introduced in PackageDescription 6.2. As a result SwiftPM/Xcode cannot compile the manifest, and package resolution fails before the binary is ever fetched.

The offending manifest (e.g. 144.7559.10/Package.swift):

// swift-tools-version:5.9
...
platforms: [
.iOS(.v13),
.macOS(.v10_15),
.macCatalyst(.v14),
.tvOS(.v17),
.visionOS(.v26), // requires swift-tools-version:6.2
],
Error produced (reproduced with swift package dump-package on Xcode 26.5):

error: Invalid manifest ...
Package.swift:11:20: error: 'v26' is unavailable
.visionOS(.v26),
`- error: 'v26' is unavailable
note: 'v26' was introduced in PackageDescription 6.2
error: invalid manifests
Root cause

SupportedPlatform.VisionOSVersion.v26 is annotated @available(_PackageDescription 6.2).
https://developer.apple.com/documentation/packagedescription/supportedplatform/iosversion/v26

Fix:

Bump the manifest's first line from // swift-tools-version:5.9 to // swift-tools-version:6.2 (matching the visionOS 26 usage).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions