Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to Check Current RestKit Version

Tags:

ios

restkit

I inherited an iOS project at work and am getting the feeling that it's using an older version of RestKit. Where can I check?

like image 668
Kyle Clegg Avatar asked Jul 31 '12 17:07

Kyle Clegg


2 Answers

After getting more familiar with how RestKit is actually linked to the project, where the files live at, etc, I stumbled across the answer:

  • Browse to the location of your xCode project containing RestKit
  • Open or cd into the RestKit folder
  • Open VERSION in vim or other text editor and the version number will be listed there

I guess I was being pretty naive as to the location of the RestKit files. Should've checked there for version info first.

like image 195
Kyle Clegg Avatar answered Nov 15 '22 11:11

Kyle Clegg


In my version of RestKit (latest as of Feb 20, 2013), the file under the xcode workspace folder with the version info in it is named "RestKit.podspec" (I installed RestKit with CocoaPods). Here is what to look for at the top of the file:

Pod::Spec.new do |s|
    s.name         =  'RestKit'
    s.version      =  '0.20.0rc1'
    ... etc
like image 44
Greg Burdett Avatar answered Nov 15 '22 10:11

Greg Burdett