RandomKit icon indicating copy to clipboard operation
RandomKit copied to clipboard

error: the Swift tools version specification is missing a label; consider inserting 'swift-tools-version:' between the comment marker and the version specifier

Open aniketnarvekar opened this issue 11 months ago • 0 comments

I have used swift package add-dependency https://github.com/nvzqz/RandomKit.git --from 5.2.3 command to add package dependency and tried to build the project using command swift build i'm getting following output:

Fetched https://github.com/nvzqz/RandomKit.git from cache (0.88s)
Computing version for https://github.com/nvzqz/RandomKit.git
error: the Swift tools version specification is missing a label; consider inserting 'swift-tools-version:' between the comment marker and the version specifier
error: ExitCode(rawValue: 1)
[0/1] Planning build%```

aniketnarvekar avatar Jan 20 '25 09:01 aniketnarvekar