My App returns a signal 13: Broken pipe: 13
error and the reason is probably a serverside issue, I'm trying to ignore SIGPipes in my App to see if it works, however xcode won't let me do it. It just keeps on giving sigpipes.
I added the following:
- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions
{
// We expect write failures to occur but we want to handle them where
// the error occurs rather than in a SIGPIPE handler.
signal(SIGPIPE, SIG_IGN);
}
Unfortunately this doesn't help at all and the App just freezes anyway. What am I missing here?