ARC – Disabling arc for specific files

Sometimes while including projects or files not developed by you, it would be necessary to go ahead and disable this option.
To do this, goto your project settings, build phases, expand compile sources, click on a specific file and add this option to the compiler settings
-fno-objc-arc
That should do the trick. happy coding.

Leave a Reply

Your email address will not be published. Required fields are marked *