Xcode Lost connection to iPhone : <p>When running my app on device and than testing offline mode by clicking flight mode on device itself, after 3 seconds i'm getting this message: </p>

<blockquote>
  <p>Restore the connection to "iPhone 6" and run "APP_NAME" again, or if
  "APP_NAME" is still running, you can attach to it by selecting Debug >
  Attach to Process > APP_NAME.</p>
</blockquote>

<ul>
<li>iPhone version 9.2.1</li>
<li>Xcode version 7.2.1</li>
</ul>

<p>Does anyone have a clue?</p>
