我的 Podfile 中有以下行:
pod 'AlamofireImage', '~> 3.5'
pod 'SwiftyDropbox', '~> 5.1.0'
当我跑步时 pod install
,我遇到了这个问题
Analyzing dependencies
[!] CocoaPods could not find compatible versions for pod "Alamofire":
In snapshot (Podfile.lock):
Alamofire (= 4.9.1, ~> 4.9)
In Podfile:
AlamofireImage (~> 3.5) was resolved to 3.6.0, which depends on
Alamofire (~> 4.9)
SwiftyDropbox (~> 5.1.0) was resolved to 5.1.0, which depends on
Alamofire (~> 4.8.2)
我阅读了这个问题的解决方案,但它没有帮助。