dyld: Symbol not found: error how to resolve this issue

后端 未结 6 1663
無奈伤痛
無奈伤痛 2020-12-01 22:09

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:

6条回答
  •  北海茫月
    2020-12-01 22:42

    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.

提交回复
热议问题