How to enable/disable ARC in an xcode project?
Open your project and select Edit -> Refactor -> Convert to Objective-C ARC. This will start checking your code if it is ready for the conversion.
See also Clang documentation: Objective-C Automatic Reference Counting (ARC)
How to disable ARC has been answered here
Following are the steps which I did and it worked for me
- Select
Project
- Select
Targets
- From the right panel, select
Build Settings
- Search for "Automatic Reference Counting";
- Locate
Apple LLVM compiler 3.0 - Language
andObjective-C Automatic Reference Counting
and selectNO
in all three sections.