1

How disable Arc for .mm file XCode 5? I am recording audio using speak here apple project. Speak Here project contain some .mm file. So How to disable Arc of single .mm file in Xcode.

nitish
  • 109
  • 1
  • 8
  • 1
    Question is not duplicate, -fno-objc-arc flag is not working in case of .mm file – nitish Dec 31 '13 at 10:42
  • The answer you want can be found in [this question](http://stackoverflow.com/questions/6646052/how-can-i-disable-arc-for-a-single-file-in-a-project). > It is possible to disable ARC for individual files by adding the `-fno-objc-arc` compiler flag for those files. – Carlton Gibson Dec 31 '13 at 09:25
  • I am talking about .mm (objective c plus plus ) file. – nitish Dec 31 '13 at 10:31
  • 1
    -fno-objc-arc is not working in case of .mm file – nitish Dec 31 '13 at 10:34
  • You must have misspelled it or done something wrong - I just wasted 15 minutes testing it and it worked fine for me with a newly created .mm file and the compiler flag set to -fno-objc-arc in the build phase for that file. – David H Dec 31 '13 at 16:37

0 Answers0