Skip to content

Commit

Permalink
Updated README to explain how to set the -fno-objc-arc for all file…
Browse files Browse the repository at this point in the history
…s at once, saving a bunch of clicking for users.
  • Loading branch information
pal committed Jun 1, 2012
1 parent aa5c378 commit 8827745
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 8827745

Please sign in to comment.