title: Flutter run on Xcode but don't on VS Code
body: <p>I'm trying to run my app in a real iOS device within VS Code but I'am having an error about provisioning profile, I already set my provisioning profile to automatic and also set my development team, everything works in Xcode but not in VS Code.</p>
  <p>Here is the error:</p>
  <pre><code>No Provisioning Profile was found for your project's Bundle Identifier or your 
  device. You can create a new Provisioning Profile for your project in Xcode for 
  your team by:
   1- Open the Flutter project's Xcode target with
        open ios/Runner.xcworkspace
   2- Select the 'Runner' project in the navigator then the 'Runner' target
      in the project settings
   3- In the 'General' tab, make sure a 'Development Team' is selected. 
      You may need to:
          - Log in with your Apple ID in Xcode first
          - Ensure you have a valid unique Bundle ID
          - Register your device with your Apple Developer Account
          - Let Xcode automatically provision a profile for your app
   4- Build or run your project again
  
  It's also possible that a previously installed app with the same Bundle 
  Identifier was signed with a different certificate.
  
  For more information, please visit:
   https://flutter.dev/setup/#deploy-to-ios-devices
  
  Or run on an iOS simulator without code signing
  ════════════════════════════════════════════════════════════════════════════════
  2020-01-09 10:18:45.163 ios-deploy[43201:5238881] [ !! ] Error 0xe8008015: A valid provisioning profile for this executable was not found. AMDeviceSecureInstallApplication(0, device, url, options, install_callback, 0)
  Could not install build/ios/iphoneos/Runner.app on 2fd298b64f27b47f0917050a9f7ec70cdc98f033.
  Try launching Xcode and selecting &quot;Product &gt; Run&quot; to fix the problem:
   open ios/Runner.xcworkspace
  </code></pre>
  <p>Xcode version 11.3</p>
  <p>I already check automatically manage signing</p>
  <p><a href="https://i.stack.imgur.com/AXq6D.png" rel="noreferrer"><img src="https://i.stack.imgur.com/AXq6D.png" alt="enter image description here" /></a></p>
  <hr />
  <h1>SOLUTION</h1>
  <ol>
  <li>run &quot;flutter clean&quot; on flutter project</li>
  <li>in xcode -&gt; build -&gt; clean</li>
  <li>run &quot;flutter build bundle&quot;</li>
  </ol>