Xcode ARC (automatic reference counting), “release is unavailable”

The two options given by NJones are valid and effective ways of dealing with ARC incompatibility. However, you do have a third option. Disabling ARC for specific files.

Giving the flags -fno-objc-arc to your non ARC compatible compile sources affectively marks them as such upon compilation.

You can find your compile sources under TargetsYour AppBuild PhasesCompile Sources.

Leave a Comment