6

I am guess this is a simple one but I can't figure it out:

I got three files in my project that are not ARC compatible with the linker flag -fno-obj-arc set in Build Phases.

However the flags are ignored as far as I can tell. The compiler still complains about sending retain and release to objects.

I am using Xcode 4.2 with ARC enabled for the project. The classes are from MGSplitView.

Any ideas?

Thanks for your help

2
  • have you tried cleaning and deleting the "derived data" for your project?
    – bobbypage
    Commented Feb 27, 2012 at 18:30
  • Thanks for this tip, didn't know that cleaning doesn't delete the derived data. I'm sure that I entered the flag a few times correctly and building failed anyway....
    – Christoph
    Commented Feb 28, 2012 at 12:16

1 Answer 1

19

Your compiler flag is -fno-obj-arc. It is missing a c in objc.

It's -fno-objc-arc.

Hope this helps you.

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.