Teja Nandamuri
Teja Nandamuri

Reputation: 11201

Xcode 6 giving the CFNetwork Internal error

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

Answers (1)

noripcord
noripcord

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

Related Questions