From 88277451d4156c595ce4f18f525ca925e7b7040d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?P=C3=A5l=20Brattberg?= Date: Fri, 1 Jun 2012 11:17:10 +0300 Subject: [PATCH] Updated README to explain how to set the `-fno-objc-arc` for all files at once, saving a bunch of clicking for users. --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index f413006..337229b 100644 --- a/README.md +++ b/README.md @@ -156,7 +156,7 @@ AFNetworking uses [`NSJSONSerialization`](http://developer.apple.com/library/mac AFNetworking will transition its codebase to ARC in a future release. -If you are including AFNetworking in a project that uses [Automatic Reference Counting (ARC)](http://clang.llvm.org/docs/AutomaticReferenceCounting.html) enabled, you will need to set the `-fno-objc-arc` compiler flag on all of the AFNetworking source files. To do this in Xcode, go to your active target and select the "Build Phases" tab. In the "Compiler Flags" column, set `-fno-objc-arc` for each of the AFNetworking source files. +If you are including AFNetworking in a project that uses [Automatic Reference Counting (ARC)](http://clang.llvm.org/docs/AutomaticReferenceCounting.html) enabled, you will need to set the `-fno-objc-arc` compiler flag on all of the AFNetworking source files. To do this in Xcode, go to your active target and select the "Build Phases" tab. Now select all AFNetworking source files, press Enter, insert `-fno-objc-arc` and then "Done" to disable ARC for AFNetworking. ## Credits