这就是我在Podfile中尝试做的事情:
platform :ios, '7.0'
target TargetOne, :exclusive => true do
pod 'AFNetworking', '2.6.0'
end
target TargetTwo, :exclusive => true do
pod 'AFNetworking', '2.5.0'
end
下面是输出:
[!] Unable to satisfy the following requirements:
- `AFNetworking (= 2.6.0)` required by `Podfile`
- `AFNetworking (= 2.5.0)` required by `Podfile`
有没有任何方式,我可以有多个目标与不同版本的pod?即使设置了::exclusive => true do
,它也不会改变任何东西。
发布于 2015-10-09 07:17:28
我已经在Cocoapods Github上发布了同样的问题。我得到了他的回应:“不,这不受支持。”所以我想我们可以忘了这件事。除非有一天有新的版本支持这一点。
https://stackoverflow.com/questions/33003331
复制相似问题