Re: [RestKit] How do you add XML support to 0.20.0 pre2?

573 views
Skip to first unread message

Blake Watters

unread,
Dec 5, 2012, 7:02:38 PM12/5/12
to res...@googlegroups.com
Updated docs on the README.md https://github.com/RestKit/RKXMLReaderSerialization


On Wed, Dec 5, 2012 at 6:14 PM, Tony Carter <tcart...@gmail.com> wrote:
I saw that there is an addon: https://github.com/RestKit/RKXMLReaderSerialization

But, how do I implement this?

Is there any documentation anywhere explaining how to add this XML support to the 0.20.0 pre2 verssion?

Thanks!

Andy Phillipson

unread,
Dec 12, 2012, 2:57:22 PM12/12/12
to res...@googlegroups.com
Hi Blake,

Being new to Cocoapods I can't figure out how to install RKXMLReaderSerialization.  Would you please share the steps I need to take?
Thanks,

-Andy

Andy Phillipson

unread,
Dec 12, 2012, 3:14:29 PM12/12/12
to res...@googlegroups.com
Figured out how to install it.  Put the following in your Podfile and then "pod update".

pod 'RKXMLReaderSerialization', :git => 'https://github.com/RestKit/RKXMLReaderSerialization.git', :branch => 'master'

Andy Phillipson

unread,
Dec 12, 2012, 3:34:01 PM12/12/12
to res...@googlegroups.com

In RKXMLReaderSerialization.h I had to change the import to get a compile:

#import <RestKit/RKSerialization.h>

to

#import <RKSerialization.h>

Is this a bug?

Richard Brown

unread,
Dec 12, 2012, 5:12:11 PM12/12/12
to res...@googlegroups.com
Nope, I had to do the same thing.  It's because of the way the headers are referenced when you use CocoaPods.

Blake just pushed the podspec up to the repo yesterday.  

Blake Watters

unread,
Dec 16, 2012, 9:21:48 PM12/16/12
to res...@googlegroups.com
Thanks for the note here -- I have fixed the header path to import <RestKit/Support/RKSerialization.h>, which is where the RestKit Podspec drops headers for the Support subspec.

evan...@3pillarglobal.com

unread,
Feb 12, 2013, 12:40:31 PM2/12/13
to res...@googlegroups.com
Blake,

I'm still getting a "File not found" error on #import <RestKit/Support/RKSerialization.h> in RKXMLReaderSerialization.h.  I'm not sure if this was supposed to be fixed.  It's only when I change the import directive to #import <RestKit/RKSerialization.h> that I don't get an error.  I've also tried adding a new header search path at the project level, but that doesn't seem to be working.  Any advice?

Thanks,
Evan

Wyler Yerrachione

unread,
May 6, 2013, 11:08:21 PM5/6/13
to res...@googlegroups.com
Hey blake - you should throw this up on the github, cause it' not clear there how to install via cocoapods to a newbie (like me)

Alex Szilagyi

unread,
Sep 22, 2015, 6:16:44 AM9/22/15
to RestKit, evan...@3pillarglobal.com
@Evan: Have you find the solution for your issue? I'm facing the same thing

Regards,
Alex

Reply all
Reply to author
Forward
0 new messages