title: iPhone not connected. Xcode will continue when iPhone is connected
body: <p>I have my iPhone connected to Xcode. It used to work just fine recently. I see it in the Devices and Simulators section, but when I try to compile my app, it says:</p>
  <blockquote>
  <p>D's iPhone 6S is not connected. Xcode will continue when D's iPhone 6S is connected.</p>
  </blockquote>
  <p>In the Devices and Simulators I see it as disconnected.</p>
  <p>I tried restarting the phone, turning it's wifi on and off. It's connected to the same wifi network, I tried restarting Xcode, nothing. I run Xcode 9, Beta 6 at the moment. Does anyone has similar issue and hopefully know how to solve it?</p>