title: Not able to connect to apple tv !! "Making apple tv ready for development" dialog shown
body: <p>I'm trying to connect apple tv with my xcode to debug my app. But I'm getting <a href="https://i.stack.imgur.com/FPDMC.png" rel="nofollow noreferrer">below</a> dialog and it will never go. So I tried following steps to fix but no use.</p>
  
  <ol>
  <li>Waited for 10 mins and checked but still the same. </li>
  <li>I restarted/reset apple tv and checked but no use.</li>
  <li>Tried with different versions of xcode but no use.</li>
  <li>Tried using wifi, mobile hotspot with different networks.</li>
  </ol>
  
  <p><img src="https://i.stack.imgur.com/FPDMC.png" alt="Screen shot"></p>
  
  <p>Some times I will get <a href="https://i.stack.imgur.com/ePdNE.png" rel="nofollow noreferrer">this</a> dialog and it will never go.</p>
  
  <p><img src="https://i.stack.imgur.com/ePdNE.png" alt="enter image description here"></p>
  
  <p>If I try to run app in this state then I will get <a href="https://i.stack.imgur.com/HZO14.png" rel="nofollow noreferrer">this</a> alert in xcode </p>
  
  <p><img src="https://i.stack.imgur.com/HZO14.png" alt=""></p>
  
  <p>So I'm not understanding the why its behaving like this. And how to fix this issue ?</p>