title: XCode 4 unable to attach to iPhone Simulator - double application
body: <p>when I run my application in iPhone simulator it works fine the first time. But the second time the application is duplicated (two same icons) and XCode tries endlessly to attach the debugger. The problem began when I renamed my project.</p>
  
  <p>What is the problem and what could be done?</p>
  
  <p><a href="https://i.stack.imgur.com/32r8O.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/32r8O.png" alt="Screenshot for error"></a></p>
  
  <p>Thanks!</p>