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

Using the Swift Package Manager - Getting Error #107

Open
aanchalkalani opened this issue Mar 3, 2020 · 2 comments
Open

Using the Swift Package Manager - Getting Error #107

aanchalkalani opened this issue Mar 3, 2020 · 2 comments

Comments

@aanchalkalani
Copy link

Hi

While installing in the package getting the below error:-

**error: dependency graph is unresolvable; found these conflicting requirements:

Dependencies:
https://github.com/JohnSundell/Files @ 4.1.1..<5.0.0**

Any help will really be appreciated.

In Package file:-

.package(
url: "https://github.com/JohnSundell/Files",
.upToNextMajor(from: "4.1.1")
),

Thanks,
Aanchal

@benduckwdesign
Copy link

I'm having this same issue.

@benduckwdesign
Copy link

benduckwdesign commented Apr 27, 2020

@aanchalkalani
Just figured out this error can occur if you are trying to use Files (which is currently using Swift 5) with a lower version of Swift like 4.2.1. Try changing your version of Files to "2.3.0". It should work then... but of course you'd be missing a bunch of new features. I'd like to update to Swift 5 without upgrading macOS past 10.13.6, but I'm not sure there's a solution for that.

EDIT: You can also try installing the Swift 5 Runtime Support for Command Line Tools from the More Downloads... section of the Apple Developer downloads.

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

2 participants