I’ve tried to convert my non-ARC project with release and etc. to Objective-C ARC via Edit->Refactor in Xcode but during conversion I get errors in SBJson parser source files: “This source file must be compiled with ARC enabled!”. But I use SBJson 3.1 which is ARC version.
So I don’t understand what is wrong. Can someone help with this?
P.S. I tried to follow advice in the answers but result is the same:


As you see adding this flags didn’t help.
The error message comes from SBJson.
NSObject+SBJson.m:
As a guess, the refactor task tries to compile the project without ARC in order to inspect all the objects inside.
I’m not sure about this refactoring tool, there may be a way to exclude some files from the refactoring. If that fails, then I would try commenting these lines out on any SBJson file until the refactor completes, then after the project has be refactored you can restore the SBJson files.