18

My project contains XMPPFramework which contains a file that has to be used with ARC. But my project is Non ARC and cannot be converted due to certain other libraries linked to it.

How do I force the compiler to use ARC only on a certain class ?

justin
  • 104,054
  • 14
  • 179
  • 226
Maduranga E
  • 1,679
  • 5
  • 23
  • 37

1 Answers1

42

It is the inverse problem of this question. The difference is that you would use -fobjc-arc instead of -fno-objc-arc.

Community
  • 1
  • 1
justin
  • 104,054
  • 14
  • 179
  • 226