ƒer*_*lle 6 ios cocoapods ios8
您好,我有以下 pod 文件:
pod "AFNetworking", "~> 2.0"
pod 'RestKit', '~> 0.20.0'
Run Code Online (Sandbox Code Playgroud)
尝试 pod install 时出现错误:
[!] Unable to satisfy the following requirements:
- `AFNetworking (~> 2.0)` required by `Podfile`
- `AFNetworking (= 1.1.0)` required by `RestKit/Network (0.20.0)`
- `RestKit/Network (= 0.20.0)` required by `RestKit/Core (0.20.0)`
Run Code Online (Sandbox Code Playgroud)
RestKit 需要 AFNetworking 1.1.0 版,但我想在我的项目中使用 2.0 版,如何同时启用两者?
我在文档中搜索:我在https://guides.cocoapods.org/using/the-podfile.html 中发现了版本冲突,但这并没有解决我的问题。
| 归档时间: |
|
| 查看次数: |
2636 次 |
| 最近记录: |