AFNetworking HTTPClient.networkReachabilityStatusBlock not found?

afnetworking

Solution

I found that Getting Start Guide of AFNetworking missed a critical step :

- Add `SystemConfiguration.framework` to the project

- Add the line `#import <SystemConfiguration/SystemConfiguration.h>` after the line `#import <Foundation/Foundation.h>` in `Prefix.pch`

Problem

I just downloaded the latest version of AFNetworking from github . I drag the folder to my xCode iOS project, disable ARC for the AFNetworking files and compile . The compiler prompts an error, claiming that line 702 of `AFHTTPClient.m` has error: ``` HTTPClient.networkReachabilityStatusBlock = self.networkReachabilityStatusBlock; ``` Any advice? Did I miss something?

Original source