Reputation: 2197
I am using CocoaPods to install a specific version of AFNetworking
. My podfile is as follows :
# Uncomment this line to define a global platform for your project
platform :ios, '7.0'
target "WGCore" do
pod 'XMPPFramework'
pod 'AFNetworking’, ’2.3.1’
pod 'FMDB'
pod 'Reachability'', '3.1'
end
target "WGCoreTests" do
end
My installation command is pod install --verbose --no-repo-update
I have tried deleting the cache for pods.
I have tried deleting the podlock.
But no matter what, I am still getting AFNetworking 3.1.0
.
This is my first time using CocoaPods
. Am I missing something ?
Upvotes: 3
Views: 1266
Reputation: 13698
About installing specific version
Other words you're doing right. It can be a problem with 2.3.1 (try ~>2) or (< 3). Maybe this version doen't work with ios, '7.0', only with lower version. Use just pod install
. Try to reinstall cocoapods. After uninstalling use gem cleanup
.
You can install manually or use specific commit in cocoapods (81d54e5)
Upvotes: 7