Skip to content

Incompatible dependencies #3

@xavierpantet

Description

@xavierpantet

Hello,
I just upgraded to Swift 5 (by updating Xcode) and I am unfortunately not able to compile my project anymore. Here is the error I get:

error: the package perfect-cmongo[https://github.com/PerfectSideRepos/Perfect-CMongo.git] @ 0.0.0 contains incompatible dependencies:
    perfect-cbson[https://github.com/PerfectSideRepos/Perfect-CBSON.git] @ master

Here are my dependencies in my Package.swift file:

dependencies: [
        .package(url: "https://github.com/PerfectlySoft/Perfect-HTTPServer.git", from: "3.0.0"),
        .package(url: "https://github.com/PerfectlySoft/Perfect-MongoDB.git", from: "3.1.1"),
        .package(url: "https://github.com/PerfectlySoft/Perfect-Logger.git", from: "3.0.0"),
        .package(url: "https://github.com/IBM-Swift/Configuration.git", from: "3.0.2"),
        .package(url: "https://github.com/AliSoftware/Dip", from: "7.0.1")
    ]

I spent quite a lot of time trying to debug this and Googling stuff but I did not manage to fix anything.
Do you have any suggestion?
Thank you!

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