title: iPhone app under dev crashes if phone not connected through XCode
body: <p>I tried this on a few devices, I have an iOS app that crashes when my phone is not connected via XCode.</p>
  
  <p>Steps I follow:</p>
  
  <p>1) Open XCode Project, connect phone to Mac<br/>
  2) Launch app through XCode<br/>
  3) App fully works<br/>
  4) Unplug cable<br/>
  5) Click again on app Icon -> crash after spashscreen</p>
  
  <p>Would anyone have any idea where I could look to figure out this problem ? As its only occuring while unplugged, I have no logs.</p>
  
  <p>PS: Also I have submitted this app to the App store (as I didn't notice before) and Apple accepted it. Which means their process didn't even find this problem.</p>