Skip to content

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

@aniketnarvekar

Description

@aniketnarvekar

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%```

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions