我的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)
我读了这个issue的解决方案,但它没有帮助。
发布于 2020-07-07 18:13:25
这个问题会得到解决,你需要做的就是,先安装SwiftyDropbox,然后再安装Alamofire。
https://stackoverflow.com/questions/59427987
复制相似问题