2016-10-29 30 views
1

我剛剛將8.0版本的Xcode更新到8.1和Swift 3.0.1。如何解決使用XCode 8.1和Swift 3.0.1的Vapor MongoProvider構建錯誤?

如果我設置「蒙戈提供商」包依賴於Package.swift:

.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]) 

你有任何想法來解決它?

回答

1

之前vapor buildvapor xcode命令

+0

嗨解決由運行vapor clean!冷,你檢查我從'蒸氣'連接到'Mlab'缺少什麼? https://stackoverflow.com/questions/46463706/how-to-connect-to-mlab-in-vapor –

相關問題