title: vsCode doesn't run flutter app on physical iPhone
body: <p>I just installed the latest version of flutter and xcode and I'm getting an error when I try running the flutter app on an actual iPhone. Works on ios simulator. The weird thing is that it works when I run it from xcode, but when I run it from vsCode, I get the following error:</p>
  
  <pre><code>It appears that your application still contains the default signing identifier.
  Try replacing 'com.example' with your signing id in Xcode:
    open ios/Runner.xcworkspace
  </code></pre>
  
  <p>What I tried doing:</p>
  
  <ul>
  <li>Change the bundle identifier to myEmailAddress@gmail.com.appTitle</li>
  <li>Clean and build the ios app</li>
  <li>clean then ran <code>flutter build bundle</code></li>
  </ul>
  
  <p>What am I doing wrong and how can I get vsCode to run the app on an iPhone?</p>
  
  <p>Here's the full error:</p>
  
  <pre><code>Launching lib/main.dart on Jessica’s iPhone in debug mode...
  Automatically signing iOS for device deployment using specified development team in Xcode project: ITYTO5RCWD
  Xcode build done.                                           25.4s
  Failed to build iOS app
  Error output from Xcode build:
  ↳
      2020-04-19 13:53:51.828 xcodebuild[2046:21215] [MT] iPhoneConnect: &lt;DVTiOSDevice ...&gt; == Underlying device preparation errors ==
      2020-04-19 13:53:51.828 xcodebuild[2046:21215] [MT] iPhoneConnect: Failed _shouldMakeReadyForDevelopment check even though device is not locked by passcode.
      Domain: com.apple.platform.iphoneos
      Code: 5
      Failure Reason: allowsSecureServices: 1. isConnected: 0. Platform: &lt;"...platform info..."&gt;. DTDKDeviceIdentifierIsIDID: 0
      User Info: {
          DVTDeviceDescription = "...device info..."
      }
      --
      2020-04-19 13:53:51.829 xcodebuild[2046:21215] [MT] iPhoneConnect: &lt;"...platform info..."&gt; == END: Underlying device preparation errors ==
      ** BUILD FAILED **
  Xcode's output:
  ↳
      /Users/Jessica/Development/flutter/.pub-cache/hosted/pub.dartlang.org/audioplayers-0.15.1/darwin/Classes/AudioplayersPlugin.m:88:37: warning: incompatible pointer types sending 'FlutterEngine *' to parameter of type 'NSObject&lt;FlutterBinaryMessenger&gt; * _Nonnull' [-Wincompatible-pointer-types]
                          binaryMessenger:_headlessEngine];
                                          ^~~~~~~~~~~~~~~
      In module 'Flutter' imported from /Users/Jessica/Development/flutter/.pub-cache/hosted/pub.dartlang.org/audioplayers-0.15.1/darwin/Classes/AudioplayersPlugin.h:2:
      /Users/Jessica/Desktop/flutter_game2/ios/Flutter/Flutter.framework/Headers/FlutterChannels.h:178:74: note: passing argument to parameter 'messenger' here
                            binaryMessenger:(NSObject&lt;FlutterBinaryMessenger&gt;*)messenger;
                                                                               ^
      1 warning generated.
      /Users/Jessica/Desktop/flutter_game2/build/ios/Debug-iphoneos/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 precompiled application for the device.
  
  It appears that your application still contains the default signing identifier.
  Try replacing 'com.example' with your signing id in Xcode:
    open ios/Runner.xcworkspace
  
  Error launching application on Jessica’s iPhone.
  Exited (sigterm)
  </code></pre>