Skip to content

Lower swift-tools-version to 6.0 for Xcode 16.1 SPM resolution - #3

Merged
EggAllocationService merged 1 commit into
libmapper:mainfrom
arshshah07:fix/swift-tools-version-6.0
May 22, 2026
Merged

Lower swift-tools-version to 6.0 for Xcode 16.1 SPM resolution#3
EggAllocationService merged 1 commit into
libmapper:mainfrom
arshshah07:fix/swift-tools-version-6.0

Conversation

@arshshah07

Copy link
Copy Markdown
Contributor

Summary

  • Lowers swift-tools-version from 6.2 to 6.0 so dependents can resolve the package with Xcode 16.1 and other 16.x toolchains.
  • Removes trailing commas in Package.swift entries that Swift 6.0 PackageDescription does not accept.

Motivation

SPM resolution fails on Xcode 16.1 (Swift 6.0.2) with:
contains incompatible tools version (6.2.0).

No Swift source changes; manifest-only.

Test plan

  • swift package dump-package succeeds on Xcode 16.1.
  • Add as SPM dependency in a sample macOS app and resolve packages.
  • swift build with Homebrew libmapper installed.

Remove trailing commas in Package.swift so the manifest parses under Swift 6.0 PackageDescription (required for consumers on Xcode 16.1 and earlier 16.x).
@EggAllocationService
EggAllocationService merged commit dd45204 into libmapper:main May 22, 2026
1 of 2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants