title: AFNetworking's requestWithMethod:path:parameters: Returning NSMutableURLRequest That Doesn't Persist
body: <p>I am using AFNetworking version 0.10.x for iOS 4.3 compatibility. This version of AFNetworking does not use arc so AFHTTPClient as well as the other AFNetworking classes have the <code>fno-objc-arc</code> flag applied to each of them (the rest of my project is using ARC). In a function I have the following code:</p>
  
  <pre><code>AFHTTPClient *httpClient = [[AFHTTPClient alloc] initWithBaseURL:[NSURL URLWithString:url]];
  [httpClient setParameterEncoding:AFJSONParameterEncoding];
  NSMutableURLRequest *urlRequest = [httpClient requestWithMethod:method
                                                             path:nil
                                                       parameters:adjustedParameters];
  NSLog(@"returning: %@", urlRequest);
  return urlRequest;
  </code></pre>
  
  <p>The problem I am seeing is that urlRequest is always returned as NULL.</p>
  
  <p>I have even stepped through this code with a debugger:</p>
  
  <p><img src="https://i.stack.imgur.com/zp6RN.png" alt="picture depicting issue"></p>
  
  <p>As you can see, the log is printing out a value of null while the debugger is stating that url request points to a valid memory address. I am running my project on iOS 6.0 with Xcode 4.6.3. Any idea as to what the issue is?</p>