【发布时间】:2020-11-23 18:55:25
【问题描述】:
我想在我的 swift 项目中通过 CocoaPods 使用“Alamofire”、“~> 5.0.0-beta.1”。
在命令行中安装 pod 后出现以下错误。
[!] CocoaPods could not find compatible versions for pod "Alamofire":
In Podfile:
Alamofire (= 5.0.0-beta.1)
AlamofireObjectMapper (= 6.0.0) was resolved to 6.0.0, which depends on
Alamofire (~> 5.0.0-beta.2)
请帮忙。
【问题讨论】:
-
如果你在 podfile 中请求 5.0.0-beta.2 会发生什么
-
[!] CocoaPods 找不到 pod“Alamofire”的兼容版本:在 Podfile 中:Alamofire (= 5.0.0-beta.2)