I created a Swift Package Manager library, and deployed it on my GitLab with a tag number 0.1.0. I'm now trying to add this package to my new vapor project by adding:
.package(url: "http://mygit.git/", from: "0.1.0").
When I try to make a "vapor update" I get a backgroundExecute error saying that my SPM has no manifest for version 0.1.0…
Any ideas? Thanks in advance!
For me I was trying to add the package by right-clicking on a project and instead had to go to File->Add Packages.... No idea why this is different but there you go.
The Package.swift
file has to be in the root directory.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With