I have the following code (given below) where I am using NSURLConnection
for connecting and parsing the response string. But I am getting the following error:>
I have had this problem also and it seems to be a known bug in the CFNetwork in iOS 8 SDK (look here: https://devforums.apple.com/message/971238#971238).
The work around is as follows:
Change the link order in "Link Binary With Libraries" of your target and put Foundation.framework before CFNetwork.framework.
That solved the issues for me.