[ Old question title used to be ARC is set to YES, but xcode shows NO, edited in order to make the question clearer.]
I have an iOS project in xcode 4.2.1 using the iOS 5.0 SDK. The project is under version-control (using the built-in git interface), and one of the early commits was after I converted the project to use ARC. Since then all worked OK with some more commits etc.
Now I suddenly notice that the build settings from within xcode shows that the relevant option ("Objective-C Automatic Reference Counting") is set to NO. But when I check the project settings file project.pbxproj
directly (either via the version control or just by opening it with a text editor) I see that CLANG_ENABLE_OBJC_ARC
is set to YES
.
Is this a problem I should worry about? The project compiles and runs OK.
EDIT
As Dondragmer pointed out, there is a separate flag for the project and for the target. Indeed for the project it was set to NO and for the target YES. What does it mean to have a separate flag for the project/target?