Skip to content
This repository has been archived by the owner on Jan 17, 2023. It is now read-only.

Commit

Permalink
Merge pull request #359 from pal/master
Browse files Browse the repository at this point in the history
README: Set `-fno-objc-arc` for all files at once
  • Loading branch information
Mattt Thompson committed Jun 1, 2012
2 parents aa5c378 + 8827745 commit ca4d700
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
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 ca4d700

Please sign in to comment.