RKDotNetDateFormatter fails to compile on OS X 10.6 #378

Closed
Gurpartap opened this Issue Sep 27, 2011 · 7 comments

4 participants

@Gurpartap

Since it contains NSRegularExpression, which is missing on 10.6.

@Gurpartap

NSFileManager's createDirectoryAtURL:withIntermediateDirectories:attributes:error is also only available on 10.7.

@grgcombs
The RestKit Project member

ooooooohhhhh crap.

@grgcombs grgcombs was assigned Sep 28, 2011
@johncadengo

Are there any work arounds?

@johncadengo

Actually, I think I found a solution. Just compile on the device, no? That's what I did and so far it seems to be working.

@Gurpartap

I just removed the files. I don't do .net to need them anyways. :)

@Gurpartap

Compiling on device helps because the device is running iOS 5!

@blakewatters
The RestKit Project member

Appropriate fix is to conditionally compile out the support

@blakewatters blakewatters was assigned Jan 23, 2012
@signalsandstuff signalsandstuff added a commit to signalsandstuff/RestKit that referenced this issue Mar 20, 2012
@signalsandstuff signalsandstuff Merge branch 'master' of git://github.com/RestKit/RestKit
* 'master' of git://github.com/RestKit/RestKit:
  Use runtime checks for NSOrderedSet class to enable building against iOS 4.x and OS X 10.6. fixes #568, #545
  Conditionally compile RKDotNetDateFormatter.h for iOS > 4.0 and OS X > 10.6. fixes #378, refs #568
  Added documentation for handling GET and POST params.
0e07bdc
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment