I am using cocoapods for my company project and I am having an issue regarding getting the latest pods.
In my Podfile, I have many pods but my pain point is the optimizely pod.
pod 'Optimizely-iOS-SDK' - this should get the latest pod version but it doesn't. The latest version is 1.2.2 but this gets 1.0.78.
When I make a specific version pod: pod 'Optimizely-iOS-SDK', '1.2.2' This complains:
[!] Unable to satisfy the following requirements:
- Optimizely-iOS-SDK (= 1.2.2)
required by Podfile
Cocoapods version: 0.39.0
OS X: El Capitan
Ruby version: ruby 2.0.0p645
I would appreciate any pointers as to what am I doing wrong.
Thanks
EDIT: My main problem is that without mentioning any version number why is it getting the older (1.0.78) version and not the latest version?
Update: pod install --verbose
-> Installing Optimizely-iOS-SDK (1.0.78)
Git download Git download $ /usr/bin/git clone https://github.com/optimizely/Optimizely-iOS-SDK.git /var/folders/n7/tr3hj67d0gxbdbm2thmsrr840000gp/T/d20151014-1032-jwurwk --single-branch --depth 1 --branch 1.0.78 Cloning into '/var/folders/n7/tr3hj67d0gxbdbm2thmsrr840000gp/T/d20151014-1032-jwurwk'... error: RPC failed; result=56, HTTP code = 200
[!] Error installing Optimizely-iOS-SDK [!] /usr/bin/git clone https://github.com/optimizely/Optimizely-iOS-SDK.git /var/folders/n7/tr3hj67d0gxbdbm2thmsrr840000gp/T/d20151014-1032-jwurwk --single-branch --depth 1 --branch 1.0.78
Cloning into '/var/folders/n7/tr3hj67d0gxbdbm2thmsrr840000gp/T/d20151014-1032-jwurwk'...
error: RPC failed; result=56, HTTP code = 200