How can I disable ARC for an entire group/folder of files?
Goto Build Phases -> Compile sources
select multiple files holding command ⌘ and press enter then add the value -fno-objc-arc
It will reflect for all the selected files.
I do not think that XCode lets you set this flag for a folder or a group, but you have two reasonable alternatives to setting the flag on individual files:
- If your library is self-contained, you can create a separate project for it in the same workspace as your application, and disable ARC for that project.
- If you are OK modifying the source of that library, you can attempt an automated ARC conversion.