title: Build target randomly added to Xcode scheme
body: <p>I am developing an iPhone app using Xcode 5 and CocoaPods. I have a scheme and target called <code>Oahu</code> that I run my tests against. Accordingly, I am not surprised to see my two test targets present to be built in the scheme's build phase. However, there is a fourth build target that cannot be removed:</p>
  
  <p><img src="https://i.stack.imgur.com/aBtVx.png" alt="enter image description here"></p>
  
  <p>When I run tests, all four targets are built, and the test targets are run against the last, incorrect one, <code>Ku</code>.</p>
  
  <p>And after closing Xcode, deleting the contents of the <code>DerivedData</code> directory, and deleting all the <code>*userdata</code> files in my project directory (<code>find ./ | grep userdata | xargs rm -rf</code>), I still have an extraneous build target:</p>
  
  <p><img src="https://i.stack.imgur.com/ORl3a.png" alt="enter image description here"></p>
  
  <p>Notice that it now included my <code>Production</code> target and I also had unchecked <code>Find Implicit Dependencies</code>.</p>
  
  <p>I've looked through all my build settings, <code>Oahu.xcscheme</code>, and <code>project.pbxproj</code>, but I can't find anything that would leave to this behavior. Unchecking the scheme's Build Option <code>Find Implicit Dependencies</code> has no effect.</p>
  
  <p>This <code>Oahu</code> scheme is the only one that has this problem – the <code>Ku</code> and <code>Production</code> schemes only have their corresponding targets – though if I duplicate the <code>Oahu</code> scheme, it also has this problem.</p>
  
  <p>Can this be fixed?</p>