5

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

Susitha
  • 3,339
  • 5
  • 27
  • 41

3 Answers3

12

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.

Deepzz
  • 4,573
  • 1
  • 28
  • 52
Quang Hà
  • 4,613
  • 3
  • 24
  • 40
7

ASIHTTPRequest hasn't been supported for a couple of years now. As such, it is very outdated and does not support ARC.

A newer library, called AFNetworking, can be found on Github here, and fully supports ARC, so you might want to think about using it instead.

Jsdodgers
  • 5,253
  • 2
  • 20
  • 36
4

I find a ASIHTTPRequest With ARC and working complete you can download

from here ASIHTTPRequest-With-ARC enjoy.......

you can also find json with ARC at here

jayesh kavathiya
  • 3,531
  • 2
  • 22
  • 25
  • Thanks for sharing. Better to add Reachbility.h with ARC – vishnu Dec 24 '14 at 08:07
  • What is the license for the code? Can I assume that it is this one? https://github.com/pokeb/asi-http-request/blob/master/LICENSE – BVB Mar 10 '15 at 17:32