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.
When I try to install this swift package I get the following response:
My package file looks like this:
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