title: Error launching application on iPhone Flutter
body: <p>I'm unable to test my flutter application on VSCode which is running on catalina on vitual box.</p>
  <p>After launching application from VSCode, I am just getting single line error <code>Error launching application on Najam’s iPhone.</code> and then application is opening in the device but it is then disconnected with VSCode</p>
  <pre><code>Launching lib/main.dart on Najam’s iPhone in debug mode...
  Automatically signing iOS for device deployment using specified development team in Xcode project: H5PHS46J86
  Running pod install...                 277.5s
  Running Xcode build...                                                  
   └─Compiling, linking and signing...   114.5s
  Xcode build done.                      346.8s
  Installing and launching...            59.8s
  Error launching application on Najam’s iPhone.
  </code></pre>
  <p><strong>What I've tried</strong></p>
  <p>As suggested here <a href="https://github.com/flutter/flutter/issues/69632#issuecomment-803646337" rel="noreferrer">https://github.com/flutter/flutter/issues/69632#issuecomment-803646337</a>, I tried below solution but it didn't work for me</p>
  <blockquote>
  <ul>
  <li>Setting <code>platform to 10.0</code> inside the Podfile (platform :ios, '10.0' )</li>
  <li>Doing a combination of <code>flutter clean</code>, <code>pod cache clean --all</code> and <code>pod install</code></li>
  </ul>
  </blockquote>
  <p>I also tried this solution too <a href="https://stackoverflow.com/a/64661277/7290043">https://stackoverflow.com/a/64661277/7290043</a>. But it didn't work either.</p>
  <blockquote>
  <ul>
  <li><p>flutter clean  pod cache clean  --all</p>
  </li>
  <li><p>rm -rf ios/Flutter/Flutter.framework</p>
  </li>
  <li><p>flutter pub get</p>
  </li>
  <li><p>pod install</p>
  </li>
  <li><p>flutter run</p>
  </li>
  </ul>
  </blockquote>
  <p>What should I do?</p>
  <p><a href="https://i.stack.imgur.com/tAz8B.png" rel="noreferrer"><img src="https://i.stack.imgur.com/tAz8B.png" alt="enter image description here" /></a></p>