Reputation: 2691
This is what I'm trying to do in 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
Here's the output :
[!] Unable to satisfy the following requirements:
- `AFNetworking (= 2.6.0)` required by `Podfile`
- `AFNetworking (= 2.5.0)` required by `Podfile`
There is not anyway that I can have multiple targets with different versions of pods ?
Even by setting : :exclusive => true do
, it doesn't change anything.
Upvotes: 2
Views: 1349
Reputation: 2691
I've posted same question as an issue in Cocoapods Github. I've got his response : "No, that's not supported." So I guess we can forget doing that. Unless someday there is a new release supporting that.
Upvotes: 2