title: Flutter in VS code is not launching app in the iOS simulator
body: <p>I started learning flutter. I have everything installed for flutter. I created the first flutter app with the command <code>flutter create xyz</code> then I used  <code>flutter run</code> to launch the app in the iOS simulator. It works fine and launches the default flutter counter app with no problem. Now when I open up the project in VS Code and try to launch from there with <code>run with debugging</code> option the app doesn't launch in the iOS simulator. Instead it gives me the following error.</p>
  <pre><code>Launching lib/main.dart on iPhone 11 in debug mode...
  Xcode build done.                                           15.8s
  Failed to build iOS app
  Error output from Xcode build:
  ↳
  ** BUILD FAILED **
  </code></pre>
  <p>Xcode's output:
  ↳</p>
  <pre><code>/Users/maxim/Desktop/flutterAppFolder/second_app/build/ios/Debug-iphonesimulator/Runner.app: resource fork, Finder information, or similar detritus not allowed
  Command CodeSign failed with a nonzero exit code
  note: Using new build system
  note: Building targets in parallel
  note: Planning build
  note: Constructing build description
  Could not build the application for the simulator.
  Error launching application on iPhone 11.
  Exited (sigterm)
  </code></pre>
  <p><a href="https://i.stack.imgur.com/0ualz.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/0ualz.png" alt="image" /></a></p>
  <p>PS. I have used flutter before in fact like an hour before I was working with vs code on a flutter app it was working fine. It was launching the app in the iOS simulator without any issue.</p>