iosautomatic-ref-countingasihttprequest

How to integrate ASIHTTPRequest in ARC


There are many errors when integrating ASIHTTPRequest library in arc mode. Is there a proper way to integrate non arc library.


Solution

  • if your project's using ARC, click project name -> select target -> build phase -> compiler sources.

    Set compiler flag -fno-objc-arc for all ASIHTTPRequest source files.