How to disable ARC for a single or multiple files in a project?

How to disable ARC for a single or multiple files in a project?

Note: if you want to disable ARC for many files, you have to:

click on you project (Top Left of the project)

Select ‘Targets’ from project pan

open “Build phases” -> “Compile sources”

Inside the build phases section select the compile sources.

Double click on the file which you want to disable ARC

paste “-fno-objc-arc”

press “enter” again

 

Screen Shot 2015-08-07 at 3.15.32 pm

Scroll to Top

Discover more from CODE t!ps

Subscribe now to keep reading and get access to the full archive.

Continue reading