I'm trying to integrate an additional ampp class file XMPPPubSub class from XMPP framework to my application. It says that we have to enable ARC for these files.
I have added -fobjc-arc flag against the file in Build Phases-> Compile Sources. The class has this code in it
#if ! __has_feature(objc_arc)
#warning This file must be compiled with ARC. Use -fobjc-arc flag (or convert project to ARC).
#endif
Even then i get this error
cc1obj: error: unrecognized command line option "-fobjc-arc"
I have seen these links already
1) How to require ARC in a class?
2) How to add ARC for specific file?
3) How to enable ARC for a single file
But yet no luck. Am i missing something here?
Please give some suggestions