Error ASIHTTPRequest CFRunLoopRun ()

I inherited an old project that uses ASIHTTPRequest to work on the network, which I am trying to update for iOS 7. I fulfill the request, but continue to receive the failure that occurs here:

enter image description here

The crash seems to be happening on my iPad 2 sequentially, and the 64-bit simulator is interrupted. I included Zombies based on information from some other SO questions and got this in the log:

- [CFNumber Issue]: message sent to an exempted instance

My project is built with ARC, but I have all the ASIHTTPRequest classes set to ignore ARC using -fno-objc-arc . I know that ASIHTTPRequest is deprecated and is no longer supported, but at the moment I can not do a full network refactoring.

It seems that somewhere in the back of the ASIHTTPRequest, the object is being released twice. Obviously, it is not recommended to change the ASIHTTPRequest code, but is there a way to fix this failure?

+5
source share

Source: https://habr.com/ru/post/1200766/


All Articles