I am using RestKit, it uses different podfiles.I want to know which is the podfile version used in that sample app.And also want to know how to update podfile via terminal?
How to check podfile version added to Xcode project?
3k views Asked by JAK At
2
There are 2 answers
0

Question 1:
If the pod is installed, Go to the info.plist file of the pod and there you can see the version of the installed pod.
Question 2: To update podfile via terminal, open podfile using
vi podfile
Click "i" and then you can edit or insert an item in podfile. To save the changes, Use
click esc then :wq!
Run pod update
to update the changes.
Answer of Question 1
you can learn this in project's podspec file. For your case it's RestKit's podspec :
... ... ...
When you use in your Podfile like this :
pod 'RestKit'
it'll automatically get latest released version!. For your case it's this line in project's podspec file :
but if you want to decide which version you want to installed with this line :
Answer to Question 2
you can update pods with this command :
Hope everything is clear now.