title: Setting up RestKit 0.10.1 for testing while using CocoaPods?
body: <p>I am trying to setup a testing environment for RestKit while using CocoaPods and I can't seem to be able to include RestKit's testing framework.</p>
  
  <p>I followed <a href="https://github.com/RestKit/RestKit/wiki/Unit-Testing-with-RestKit" rel="nofollow">Unit Testing with RestKit</a> but I wasn't able to include any of my podfiles.</p>
  
  <p>Then I found this <a href="http://www.irvinruz.com/en/posts/using-cocoapods-to-manage-your-ios-project-dependencies" rel="nofollow">article</a> about setting up CocoaPods with a small section about testing:</p>
  
  <blockquote>
    <p>When trying to execute the unit tests of CookPix, I got this issue</p>
    
    <p>LoggerClient.h not found As described above, pod install changes your
    Xcode project main target (I guess it takes the one named like the
    project) to base the target configuration on the Pods.xcconfig file.
    This lets Xcode found the headers of your dependencies and compile
    your project with the right flags as well.</p>
    
    <p>However it does not change the configuration of all targets and in our
    case, the unit tests target. To fix that, click on your Xcode project,
    then again on the Xcode project on the secondary panel, then on the
    Info tab. Change the "Based on Configuration file" attribute of your
    unit tests target to Pods. This should fix the dependencies of your
    unit tests target.</p>
  </blockquote>
  
  <p>This fixed the issue of including my pod files but I can't get RestKit's test framework installed. The compiler can't find this file because the pod doesn't install it. </p>
  
  <pre><code>#import &lt;RestKit/Testing.h&gt;
  </code></pre>
  
  <p>By looking at the CocoaPod spec it looks like it should be included. This is the relevant line in my Podfile.</p>
  
  <pre><code>pod 'RestKit', '0.10.1'
  </code></pre>
  
  <p>I also tried:</p>
  
  <pre><code>pod 'RestKit/Testing', '0.10.1'
  </code></pre>
  
  <p>With the same results.</p>