I have a strange problem.
I use ASIHTTPRequest
in a iOS 5 project with ARC enabled. Since ASIHTTPRequest
does not support ARC I have disabled ARC on all individual ASIHTTPRequest
files.
However, when I'm trying to compile my project, xcode still believes that those files are ARC-enabled and it complains.
Did I do anything wrong or is that a bug in xcode? Don't tell me to convert ASIHTTPRequest
to ARC-compatible code with the refactor tool. I have tried to do that and xcode complains on that ARC is enabled on the project (?!?!).
I did it this way.
You have to make the ASIHTTP as a library and include it in your project.
Following is the procedure.
You will not get any ARC Error. Hope it helps some one facing similar ARC problems..
You typed
-fno-ojbc-arc
. The correct flag is-fno-objc-arc
.