RestKit/RestKit — Issue #410: [[RKClient sharedClient] post - Worked fine on iOS 4.3.5 but not on iOS 5
Author: d00ape
Created: 2011-10-16 17:16:47+00:00
State: open

Hi,
I have a huge problem with one of my apps that is using the post-method of RKClient.

The post worked out perfect on iOS 4.3.5.
On iOS 5 i can do the post an get the response (se sample code below). BUT, after about 5 seconds when i've got the response tha application crashes.

All tips

[RKClient clientWithBaseURL:@"http://.../....json"];
[[RKClient sharedClient] post:@"" params:params delegate:self];

- (void)request:(RKRequest*)request didLoadResponse:(RKResponse*)response
{
// Get what I wanted
}

// "Later after 5 secod" i got a EXC_BAD_ACCESS