首页 > 解决方案 > SwiftyBeaver 失败的 Vapor Linux 构建

问题描述

我一直在尝试使用 Docker 构建我的 Vapor 项目。我正在使用默认的 web.Dockerfile。但是我遇到了这个错误:

/App/.build/checkouts/SwiftyBeaver/Sources/FileDestination.swift:135:27: error: use of unresolved identifier 'NSFileCoordinator'

我也在使用https://github.com/vapor-community/swiftybeaver-provider(但是我的错误来自 SwiftyBeaver 本身)。该错误似乎来自为 Linux 构建 - 它在 Docker 本地构建。任何帮助将非常感激!

标签: dockervaporswiftybeaver

解决方案


推荐阅读