Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to install swift package due to conflicting requirements. #16

Open
ChielChiel opened this issue Nov 12, 2019 · 0 comments
Open

Comments

@ChielChiel
Copy link

When I try to install this swift package I get the following response:

$ swift build
Updating https://github.com/Arti3DPlayer/USBDeviceSwift.git
error: dependency graph is unresolvable; found these conflicting requirements:

Dependencies: 
    https://github.com/Arti3DPlayer/USBDeviceSwift.git @ 1.0.3..<2.0.0

My package file looks like this:

// swift-tools-version:4.2
// The swift-tools-version declares the minimum version of Swift required to build this package.

import PackageDescription

let package = Package(
    name: "WiredMouse",
    dependencies: [
        .package(url: "https://github.com/Arti3DPlayer/USBDeviceSwift.git", .upToNextMajor(from: "1.0.3")),
    ]
)```

when I, instead of "1.0.3", set the version to "2.0.0" I get the same result but one step higher: 
```shell
$ swift build
Updating https://github.com/Arti3DPlayer/USBDeviceSwift.git
error: dependency graph is unresolvable; found these conflicting requirements:

Dependencies: 
    https://github.com/Arti3DPlayer/USBDeviceSwift.git @ 2.0.0..<3.0.0

And so on

Can somebody please help me get forward? I'm new to swift package manager so I don't know a lot about it.

Thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant