You can disable ARC for each file.
- Select a project in the file list
- Choose a target
- Click the Build Phases tab
- The compilation sources phase opens
- Scroll down until you find your source file (or use the search box)
- Double-click in the Compiler Flags column for this file.
- Type
-fno-objc-arc
Now ARC is disabled for this single file.
source share