Skip to content

Fix swift-tools-version comment spacing in Swift.package#390

Open
mauricetinn wants to merge 1 commit intoWenchaoD:masterfrom
Alfagift:master
Open

Fix swift-tools-version comment spacing in Swift.package#390
mauricetinn wants to merge 1 commit intoWenchaoD:masterfrom
Alfagift:master

Conversation

@mauricetinn
Copy link

got this error
the manifest is backward-incompatible with Swift < 6.0 because the tools-version was specified in a subsequent line of the manifest, not the first line. Either move the tools-version specification or increase the required tools-version of your manifest

this was caused because the swift-tools-version comment have no spacing
// swift-tools-version:5.9

it should be
// swift-tools-version: 5.9

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

1 participant