Skip to content

Fix SPM manifest by removing trailing comma#490

Open
Zandor300 wants to merge 1 commit intomasterfrom
Zandor300/fix-trailing-comma
Open

Fix SPM manifest by removing trailing comma#490
Zandor300 wants to merge 1 commit intomasterfrom
Zandor300/fix-trailing-comma

Conversation

@Zandor300
Copy link
Member

Summary

Removes trailing comma in Package.swift function arguments that breaks package resolution in Swift 6.0 (Xcode 16.2). SPM fails with "Invalid manifest" error because trailing commas in function argument lists are not supported until Swift 6.1.

Test plan

  • Verify package can be resolved in Xcode 16.2
  • Confirm no syntax errors in Package.swift manifest

Swift 6.0 (Xcode 16.2) does not support trailing commas in function argument lists.
This breaks package resolution in SPM. The trailing comma after the resources parameter
is removed to resolve the "Invalid manifest" error.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
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