title: Cocoapods - include certain dependencies only for XCTest files
body: <p>I have the following <code>Podfile</code>:</p>
  
  <pre><code>platform :ios, '7.0'
  pod 'CocoaLumberjack'
  target :MyProjectTests do
     pod 'OCHamcrest'
  end
  </code></pre>
  
  <p>I want to include <code>CocoaLumberjack</code> in all targets and <code>OCHamcrest</code> only in the test target.  This seems to work great when I was using GHUnit (as I had to create a specific <code>GHUnit</code> test target).  </p>
  
  <p>However, I thought I would try <code>XCTest</code> to see how I like it (given that <code>GHUnit</code> seems to be getting a few cobwebs and has changed ownership recently).</p>
  
  <p>When I check my <code>Pods.xconfig</code>, it shows that it is including <code>OCHamcrest</code></p>
  
  <pre><code>HEADER_SEARCH_PATHS = "${PODS_ROOT}/Headers" "${PODS_ROOT}/Headers/CocoaLumberjack" "${PODS_ROOT}/Headers/OCHamcrest"
  </code></pre>
  
  <p>So, it looks like XCTests are not a separate target.</p>
  
  <p>What can I do to ensure that I'm not including testing frameworks in my release build?  Is this something I have to manually manage or can <code>Cocoapods</code> do this for me?,</p>