title: Xcode cannot run using the selected device (Weird error)
body: <p>I'm trying to debug an application on my iphone. I was able to do it before I updated Facebook client library yesterday. After updating, something weird happened and now I got the "Xcode cannot run using the selected device" error. </p>
  
  <p><img src="https://i.stack.imgur.com/B8fhH.png" alt="Error screenshot"></p>
  
  <p>Error can be seen from the screenshot. Note that in the upper middle it says "Finished running FacebookSDK on baysungur's iPhone", which is weird because my app's name is different. </p>
  
  <p>I tried some things like adding architectures to build settings, decreasing minimum deployment target, etc. They did not work. </p>
  
  <p>Anyone has any idea?</p>
  
  <p>I'm using Mountain Lion and Xcode 4.4.1. I'm trying to connect to a iphone 4.</p>
  
  <p>Note: I was able to connect to device before updating that facebook client.</p>
  
  <p>edit: Well, a similar thing also happens for simulator. Now I basically can not debug my app in any way.</p>