Is it possible to have an iOS app that's not ARC enabled but with some arc files?
I have a non-ARC enabled app where I would like to bring in some ARC enabled files. Is this possible?
thanks
Is it possible to have an iOS app that's not ARC enabled but with some arc files?
I have a non-ARC enabled app where I would like to bring in some ARC enabled files. Is this possible?
thanks
 
    
     
    
    You can use the -fobjc-arc flag to enable ARC for specific files.
 
    
     
    
    Using the -fobjc-arc flag to enable ARC for specific files may result in an 'unrecognized command line option for -f-objc-arc error which is because of using the wrong compiler. 
To fix this, go to Target Settings > Build Settings > Build Options, and change the compiler from LLVM GCC to Apple LLVM. Build and run, and the problem should be solved.
