title: Flutter iOS device: Error connecting to the service protocol: failed to connect to http://127.0.0.1:1024
body: <p>Problem when connect to real iOS device using <strong>Flutter</strong> in Android Studio. </p>
  
  <blockquote>
    <p><code>"Error connecting to the service protocol: failed to connect to http://127.0.0.1:1024"</code></p>
  </blockquote>
  
  <p>Searched up and restart the device, switch to master channel seems not helping. </p>
  
  <p><code>flutter doctor</code> shows </p>
  
  <pre><code>[✓] Flutter (Channel stable, v1.12.13+hotfix.8, on Mac OS X 10.15.3 19D76,
      locale en-US) 
  [✓] Android toolchain - develop for Android devices (Android SDK version 29.0.2)
  [✓] Xcode - develop for iOS and macOS (Xcode 11.4)
  [✓] Android Studio (version 3.6)
  [✓] Connected device (1 available)
  </code></pre>