Skip to content

Conversation

@cbaker6
Copy link
Contributor

@cbaker6 cbaker6 commented Jan 11, 2026

Swift 6.0 doesn’t allow trailing commas. Only 6.1+ supports trailing commas. See SPI build log that attempts to build Swift 6.0: https://swiftpackageindex.com/builds/06F07AA5-9430-469D-B2E7-2BCC1DC511A6

Swift 6.0 doesn’t allow trailing commas.
Copilot AI review requested due to automatic review settings January 11, 2026 15:15
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR aims to fix Swift 6.0 compatibility by removing trailing commas from Package.swift, which are not supported in Swift 6.0 (only in 6.1+).

Changes:

  • Removed trailing comma from the CareKitFHIR library product definition
  • Removed trailing comma from the CareKitStore target's swiftSettings parameter

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Updated Xcode version badge from 14.0+ to 16.0+ in README.
@cbaker6 cbaker6 changed the title fix: Building package for 6.0 fix: Building package for Swift 6.0 Jan 11, 2026
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.

1 participant