restkit is using in a different way the oauth2 protocol, I need to change the code to be able to use it in my way:
From:
// OAuth 2 valid request
if
Even though this question has an accepted answer, I wanted to add an alternative approach. At some time (I believe after this question was asked) the ability to have local references in Podfiles (and not just Podspecs) was added to Cocoapods.
Rather than creating custom creating public forks in Github and custom Podspecs, I find it easier to:
Modify my Podfile to point to that local directory and local branch:
pod 'FXForms', :path => '~/Documents/Projects/RestKit', :branch => 'mybranch'
This makes it easy for me to incorporate any new versions of the library (by just pulling them from origin and then merging them into my local branch).