Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我正在尝试创建一个 REST 服务,并且正在观看本教程: https://videos.raywenderlich.com/courses/77-server-side-swift-with-perfect/lessons/1 对于 Perfect 框架,我被卡住了,因为(教程视频中的时刻~2:31)当我编译此代码时,它说 PerfectLib 模块不存在,即使我已经按照视频中的每一步并下载了视频告诉我的所有文件。我在 Linux 上工作。
https://videos.raywenderlich.com/courses/77-server-side-swift-with-perfect/lessons/1
确保 Package.swift 看起来像这样:
dependencies: [ .Package(url: "https://github.com/PerfectlySoft/Perfect-HTTPServer.git", majorVersion: 2) ]