Skip to content

Dependencies could not be resolved because root depends on 'swift-crypto' 2.5.0..<3.0.0 and 'swift-package-manager' depends on 'swift-crypto' 3.0.0..<3.1.0. #903

@joehsieh

Description

@joehsieh

i was following the guideline to build the project sourcekit-lsp, but the error error: Dependencies could not be resolved because root depends on 'swift-crypto' 2.5.0..<3.0.0 and 'swift-package-manager' depends on 'swift-crypto' 3.0.0..<3.1.0. came up to me.

After checking the Package.swift in both repo swift-package-manager and sourcekit-lsp, i think there is a conflict.
Perhaps, the same revert should be applied on the main branch of swift-package-manager as well.

swift-package-manager
.package(url: "https://github.com/apple/swift-crypto.git", .upToNextMinor(from: "3.0.0")),

sourcekit-lsp
.package(url: "https://github.com/apple/swift-crypto.git", from: "2.5.0"),

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions