使用Cocoapods的不同版本库的解决方案(特别是:IOSLinkedInAPI和RestKit)

时间:2014-05-20 21:16:01

标签: ios oauth-2.0 cocoapods restkit-0.20

我正在尝试使用IOSLinkedInAPI和RestKit可可豆荚。安装了Cocoa pod,我设置了Podfile,我正试图让这两个pod一起工作。

RestKit需要:

platform :ios, '5.0'
pod 'RestKit', '~> 0.23.1'

而IOSLinkedInAPI需要:

pod 'IOSLinkedInAPI', '~> 2.0.0'

当我执行“pod install”时,我收到错误消息:

[!] Unable to satisfy the following requirements:
- `AFNetworking (~> 1.3.0)` required by `RestKit/Network (0.23.1)`- `AFNetworking (>= 2.0.0)` required by `IOSLinkedInAPI (2.0.0)`

你们有没有遇到过这个?你有什么建议吗?

1 个答案:

答案 0 :(得分:0)

这是不可能的。由于基于C语言的工作方式,这将产生重复的符号错误。该库必须更新它们的依赖项。