Reputation: 11201
I recently installed Xcode 6 and when I tried to run the app in simulator it runs fine ,but it logs the following error. I have no idea what this error is about. Can anyone say how to fix
CFNetwork internal error (0xc01a:/SourceCache/CFNetwork_Sim/CFNetwork-711.0.6/Foundation/NSURLRequest.mm:798)
Upvotes: 10
Views: 3328
Reputation: 3502
I don't know if this will be the solution for everyone, but it fixed my App.
I was sending a Multipart form-data POST request with:
conn = [[NSURLConnection alloc] init...]
[conn setDelegate:myDelegate];
[conn start];
And this was causing the CFNetwork internal error, so annoying.
I changed it with:
[NSURLConnection sendAsync...]
and it now works like a charm.
Upvotes: 1