Merge pull request #359 from pal/master

README: Set `-fno-objc-arc` for all files at once
This commit is contained in:
Mattt Thompson 2012-06-01 09:38:37 -07:00
commit ca4d700a81

View file

@ -156,7 +156,7 @@ AFNetworking uses [`NSJSONSerialization`](http://developer.apple.com/library/mac
AFNetworking will transition its codebase to ARC in a future release. 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 ## Credits