尝试使用“部署到heroku”按钮将此存储库部署到heoku。 https://github.com/abdulkhaliq92/FaxServer 我有一个有效的app.json文件:
{
"name": "FaxServer",
"scripts": {},
"env": {},
"formation": {},
"addons": [],
"buildpacks": [
{
"url": "https://github.com/kylef/heroku-buildpack-swift"
}
]
}
部署时发生以下错误。
Downloading swift-corelibs-libdispatch (swift-4.1-RELEASE)
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 --:--:-- --:--:-- --:--:-- 1729k
Building Swift
This may take a very long time...
Building Swift failed
Check out the logfile for more information: /app/tmp/cache/swiftenv/tmp/swiftenv-build-4.1/swiftenv-build.20190214170118.272.log
You can inspect or delete the working tree at: /app/tmp/cache/swiftenv/tmp/swiftenv-build-4.1
! Push rejected, failed to compile Swift app.
! Push failed
编辑: 仍然出现相同的错误。 这是Package.swift文件:https://github.com/abdulkhaliq92/FaxServer/blob/master/Package.swift