title: Xcode: failed to get the task for process
body: <p>I've run in release mode my app on a iPhone with Xcode 4.</p>
  
  <p>Everything worked great until when I switch to the simulator and I switched back to the iPhone. After switching back, the app is launched on the iPhone, but the home screen is displayed immediately after and in Xcode I get:</p>
  
  <pre><code>failed to get the task for process 
  </code></pre>
  
  <p>I've tried to remove/add Entitlements file, delete app and restart Xcode but nothing to do.</p>