Reputation: 47
I am trying to create a REST service and I am watching this tutorial:
https://videos.raywenderlich.com/courses/77-server-side-swift-with-perfect/lessons/1
for the Perfect framework and I am stuck because (moment in the tutorial video time~2:31) when I compile this code it says that the PerfectLib module does not exist, even though I have followed every step in the video and downloaded all files the video told me to. I am working on Linux.
Upvotes: 0
Views: 737
Reputation: 413
Make sure Package.swift looks like this:
dependencies: [
.Package(url: "https://github.com/PerfectlySoft/Perfect-HTTPServer.git", majorVersion: 2)
]
Upvotes: 3