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

tips & tricks

Join 7,719 other subscribers

interview questions


Algorithm Android Android Studio API APP Programming Apps blogging Browser CheatSheets Code Config CSS DATABASE dsa error Features HTML HTML5 IDE installation Interview Questions IOS iPhone javascript Mac objective-c OneDrive OS Placeholder Programming quicktips SDK SEO Settings SMO SQL swift swiftUI Teams Tips & Tricks Tools UI Web Wordpress Xcode


Archives

Discover more from CODE t!ps

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

Continue reading