title: Xcode, iOS, "Stop "(null)", "An instance of "(null)" is already running..."
body: <p>Xcode 7.2.1, iOS 9.2.1, ARC enabled</p>
  
  <p>Sometimes when I am quickly building and running a project in Xcode back to back I get this error:</p>
  
  <p><a href="https://i.stack.imgur.com/8g8bE.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/8g8bE.png" alt="enter image description here"></a></p>
  
  <p>Xcode still thinks that it is still running an instance of my application on the device, however, the application has long since been terminated.</p>
  
  <p>When I click "Stop" it just hangs up and looks like this...</p>
  
  <p><a href="https://i.stack.imgur.com/zoTCs.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/zoTCs.png" alt="enter image description here"></a></p>
  
  <p>I have tried waiting for 5 minutes, but the error does not clear and the status does not update to indicate that the application stopped running.</p>
  
  <p>The only solution is to restart Xcode.  This ends up being a huge hassle, because I have to navigate back to where I was and open all the necessary windows again.</p>
  
  <p>Does anyone have an alternative way of handling this error?</p>
  
  <p>It seems to occur when I intermix using the stop button with using the short cut to run the project (⌘ + R).</p>
  
  <p>Much thanks in advance.</p>
  
  <p><strong>UPDATE 2/23/2016</strong></p>
  
  <p>I noticed that when I unplug and plug the cable back in after the error occurs the project allows a new build and instance to run, but the old instance never goes away, so you end up with multiple "running" projects.</p>
  
  <p>Does anyone know how to get rid of that?  Or add to the original solution?</p>