我刚刚将我的 Xcode 从版本 8.0 更新到 8.1 和 Swift 3.0.1。
如果我在 Package.swift 中设置“mongo-provider”包依赖项:
.Package(url: "https://github.com/vapor/mongo-provider.git", majorVersion: 1, minor: 0)
我在终端输出中有一个构建错误:
Fetching Dependencies [Failed]
Check your dependencies' Package.swift files to see where the conflict is.
Error: warning: refname '1.0.0' is ambiguous.
warning: refname '1.0.0' is ambiguous.
warning: refname '1.0.4' is ambiguous.
warning: refname '1.0.4' is ambiguous.
warning: refname '1.7.2' is ambiguous.
warning: refname '1.7.2' is ambiguous.
warning: refname '3.7.2' is ambiguous.
warning: refname '3.7.2' is ambiguous.
swift-package: error: The dependency graph could not be satisfied. The package (https://github.com/vapor/socks.git) with version tag in range (1.0.0..<1.0.9223372036854775807) is not found. Found tags ([1.1.0])
你有什么想法来解决它吗?