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

Cannot resolve dependencies on Ubuntu 20.04 + swift 5.3 #22

Open
zeionara opened this issue Dec 24, 2020 · 0 comments
Open

Cannot resolve dependencies on Ubuntu 20.04 + swift 5.3 #22

zeionara opened this issue Dec 24, 2020 · 0 comments

Comments

@zeionara
Copy link

The command I execute:

git clone [email protected]:PerfectlySoft/PerfectTemplate.git && cd PerfectTemplate && swift run

The output I observe:

Cloning into 'PerfectTemplate'...
remote: Enumerating objects: 285, done.
remote: Total 285 (delta 0), reused 0 (delta 0), pack-reused 285
Receiving objects: 100% (285/285), 61.98 KiB | 453.00 KiB/s, done.
Resolving deltas: 100% (143/143), done.
Fetching https://github.com/PerfectlySoft/Perfect-HTTPServer.git
Cloning https://github.com/PerfectlySoft/Perfect-HTTPServer.git
Resolving https://github.com/PerfectlySoft/Perfect-HTTPServer.git at 3.0.23
Updating https://github.com/PerfectlySoft/Perfect-HTTPServer.git
Fetching https://github.com/PerfectlySoft/Perfect-CZlib-src.git
Fetching https://github.com/PerfectlySoft/Perfect-HTTP.git
Fetching https://github.com/PerfectlySoft/Perfect-Net.git
Cloning https://github.com/PerfectlySoft/Perfect-HTTP.git
Resolving https://github.com/PerfectlySoft/Perfect-HTTP.git at 3.3.0
Cloning https://github.com/PerfectlySoft/Perfect-Net.git
Resolving https://github.com/PerfectlySoft/Perfect-Net.git at 3.3.0
Cloning https://github.com/PerfectlySoft/Perfect-CZlib-src.git
Resolving https://github.com/PerfectlySoft/Perfect-CZlib-src.git at 0.0.4
error: the Package.resolved file is most likely severely out-of-date and is preventing correct resolution; delete the resolved file and try again

But if I delete "PerfectHTTPServer" from the target dependency list and replace all the code in main.swift with a simple print, I get only warning:

warning: dependency 'PerfectHTTPServer' is not used by any target

So there should be a mistake somewhere in dependencies declarations.

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