I am working on ARC environment and I successfully disable Facebook API through -fno-objc-arc. I also want to disable this for my own class, and I did same method as with Facebook API classes, but I couldn’t disable ARC. If anyone know please help me on that.
I am working on ARC environment and I successfully disable Facebook API through -fno-objc-arc
Share
To get rid of this error you need to disable ARC, to disable ARC from your project do the following steps.
Select your project file.
You should be in the “Build settings” tab.
Select the “levels” option (default is “Combined”)
There’s a search field to the right of “Combined”. Enter “Automatic”
Second group should be “Apple LLVM Compiler 3.0 – Language”.
Second line under that controls ARC.
Click that line, then in the middle column (where it says “yes”), click and choose “no”.
Now the error should gone.