<p dir="auto">About 60-80% of the time I debug on VSC on iOS it will launch to a white screen and then fail with no error message.</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="Launching lib/main.dart on Luke's iPhone in debug mode...
Automatically signing iOS for device deployment using specified development team in Xcode project: TA8U33SGB8
Xcode build done.                                           13.9s
5.4.0 - [Firebase/Core][I-COR000003] The default Firebase app has not yet been configured. Add `[FIRApp configure];` (`FirebaseApp.configure()` in Swift) to your application initialization. Read more: https://goo.gl/ctyzm8.
5.4.0 - [Firebase/Analytics][I-ACS023007] Firebase Analytics v.50001000 started
5.4.0 - [Firebase/Analytics][I-ACS023008] To enable debug logging set the following application argument: -FIRAnalyticsDebugEnabled (see http://goo.gl/RfcP7r)
5.4.0 - [Firebase/Messaging][I-FCM001000] FIRMessaging Remote Notifications proxy enabled, will swizzle remote notification receiver handlers. If you'd prefer to manually integrate Firebase Messaging, add &quot;FirebaseAppDelegateProxyEnabled&quot; to your Info.plist, and set it to NO. Follow the instructions at:
https://firebase.google.com/docs/cloud-messaging/ios/client#method_swizzling_in_firebase_messaging
to ensure proper integration.
Exited (sigterm)"><pre class="notranslate"><code class="notranslate">Launching lib/main.dart on Luke's iPhone in debug mode...
Automatically signing iOS for device deployment using specified development team in Xcode project: TA8U33SGB8
Xcode build done.                                           13.9s
5.4.0 - [Firebase/Core][I-COR000003] The default Firebase app has not yet been configured. Add `[FIRApp configure];` (`FirebaseApp.configure()` in Swift) to your application initialization. Read more: https://goo.gl/ctyzm8.
5.4.0 - [Firebase/Analytics][I-ACS023007] Firebase Analytics v.50001000 started
5.4.0 - [Firebase/Analytics][I-ACS023008] To enable debug logging set the following application argument: -FIRAnalyticsDebugEnabled (see http://goo.gl/RfcP7r)
5.4.0 - [Firebase/Messaging][I-FCM001000] FIRMessaging Remote Notifications proxy enabled, will swizzle remote notification receiver handlers. If you'd prefer to manually integrate Firebase Messaging, add "FirebaseAppDelegateProxyEnabled" to your Info.plist, and set it to NO. Follow the instructions at:
https://firebase.google.com/docs/cloud-messaging/ios/client#method_swizzling_in_firebase_messaging
to ensure proper integration.
Exited (sigterm)
</code></pre></div>
<p dir="auto">When I run <code class="notranslate">flutter run --verbose</code> this is the tail</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="[+1537 ms] Updating files
[ +116 ms] DevFS sync failed. Lost connection to device: SocketException: OS Error: Connection reset by peer, errno = 54, address = 127.0.0.1, port = 57043
[        ] Syncing files to device Luke's iPhone... (completed)
[   +1 ms] &quot;flutter run&quot; took 34,940ms.

#0      throwToolExit (package:flutter_tools/src/base/common.dart:26:3)
#1      RunCommand.runCommand (package:flutter_tools/src/commands/run.dart:384:7)
&lt;asynchronous suspension&gt;
#2      FlutterCommand.verifyThenRunCommand (package:flutter_tools/src/runner/flutter_command.dart:526:18)
#3      _asyncThenWrapperHelper.&lt;anonymous closure&gt; (dart:async/runtime/libasync_patch.dart:77:64)
#4      _rootRunUnary (dart:async/zone.dart:1132:38)
#5      _CustomZone.runUnary (dart:async/zone.dart:1029:19)
#6      _FutureListener.handleValue (dart:async/future_impl.dart:129:18)
#7      Future._propagateToListeners.handleValueCallback (dart:async/future_impl.dart:642:45)
#8      Future._propagateToListeners (dart:async/future_impl.dart:671:32)
#9      Future._complete (dart:async/future_impl.dart:476:7)
#10     _SyncCompleter.complete (dart:async/future_impl.dart:51:12)
#11     _AsyncAwaitCompleter.complete (dart:async/runtime/libasync_patch.dart:28:18)
#12     _completeOnAsyncReturn (dart:async/runtime/libasync_patch.dart:295:13)
#13     RunCommand.usageValues (package:flutter_tools/src/commands/run.dart)
#14     _asyncThenWrapperHelper.&lt;anonymous closure&gt; (dart:async/runtime/libasync_patch.dart:77:64)
#15     _rootRunUnary (dart:async/zone.dart:1132:38)
#16     _CustomZone.runUnary (dart:async/zone.dart:1029:19)
#17     _FutureListener.handleValue (dart:async/future_impl.dart:129:18)
#18     Future._propagateToListeners.handleValueCallback (dart:async/future_impl.dart:642:45)
#19     Future._propagateToListeners (dart:async/future_impl.dart:671:32)
#20     Future._complete (dart:async/future_impl.dart:476:7)
#21     _SyncCompleter.complete (dart:async/future_impl.dart:51:12)
#22     _AsyncAwaitCompleter.complete.&lt;anonymous closure&gt; (dart:async/runtime/libasync_patch.dart:33:20)
#23     _rootRun (dart:async/zone.dart:1124:13)
#24     _CustomZone.run (dart:async/zone.dart:1021:19)
#25     _CustomZone.bindCallback.&lt;anonymous closure&gt; (dart:async/zone.dart:947:23)
#26     _microtaskLoop (dart:async/schedule_microtask.dart:41:21)
#27     _startMicrotaskLoop (dart:async/schedule_microtask.dart:50:5)
#28     _runPendingImmediateCallback (dart:isolate/runtime/libisolate_patch.dart:115:13)
#29     _RawReceivePortImpl._handleMessage (dart:isolate/runtime/libisolate_patch.dart:172:5)"><pre class="notranslate"><code class="notranslate">[+1537 ms] Updating files
[ +116 ms] DevFS sync failed. Lost connection to device: SocketException: OS Error: Connection reset by peer, errno = 54, address = 127.0.0.1, port = 57043
[        ] Syncing files to device Luke's iPhone... (completed)
[   +1 ms] "flutter run" took 34,940ms.

#0      throwToolExit (package:flutter_tools/src/base/common.dart:26:3)
#1      RunCommand.runCommand (package:flutter_tools/src/commands/run.dart:384:7)
&lt;asynchronous suspension&gt;
#2      FlutterCommand.verifyThenRunCommand (package:flutter_tools/src/runner/flutter_command.dart:526:18)
#3      _asyncThenWrapperHelper.&lt;anonymous closure&gt; (dart:async/runtime/libasync_patch.dart:77:64)
#4      _rootRunUnary (dart:async/zone.dart:1132:38)
#5      _CustomZone.runUnary (dart:async/zone.dart:1029:19)
#6      _FutureListener.handleValue (dart:async/future_impl.dart:129:18)
#7      Future._propagateToListeners.handleValueCallback (dart:async/future_impl.dart:642:45)
#8      Future._propagateToListeners (dart:async/future_impl.dart:671:32)
#9      Future._complete (dart:async/future_impl.dart:476:7)
#10     _SyncCompleter.complete (dart:async/future_impl.dart:51:12)
#11     _AsyncAwaitCompleter.complete (dart:async/runtime/libasync_patch.dart:28:18)
#12     _completeOnAsyncReturn (dart:async/runtime/libasync_patch.dart:295:13)
#13     RunCommand.usageValues (package:flutter_tools/src/commands/run.dart)
#14     _asyncThenWrapperHelper.&lt;anonymous closure&gt; (dart:async/runtime/libasync_patch.dart:77:64)
#15     _rootRunUnary (dart:async/zone.dart:1132:38)
#16     _CustomZone.runUnary (dart:async/zone.dart:1029:19)
#17     _FutureListener.handleValue (dart:async/future_impl.dart:129:18)
#18     Future._propagateToListeners.handleValueCallback (dart:async/future_impl.dart:642:45)
#19     Future._propagateToListeners (dart:async/future_impl.dart:671:32)
#20     Future._complete (dart:async/future_impl.dart:476:7)
#21     _SyncCompleter.complete (dart:async/future_impl.dart:51:12)
#22     _AsyncAwaitCompleter.complete.&lt;anonymous closure&gt; (dart:async/runtime/libasync_patch.dart:33:20)
#23     _rootRun (dart:async/zone.dart:1124:13)
#24     _CustomZone.run (dart:async/zone.dart:1021:19)
#25     _CustomZone.bindCallback.&lt;anonymous closure&gt; (dart:async/zone.dart:947:23)
#26     _microtaskLoop (dart:async/schedule_microtask.dart:41:21)
#27     _startMicrotaskLoop (dart:async/schedule_microtask.dart:50:5)
#28     _runPendingImmediateCallback (dart:isolate/runtime/libisolate_patch.dart:115:13)
#29     _RawReceivePortImpl._handleMessage (dart:isolate/runtime/libisolate_patch.dart:172:5)
</code></pre></div>
<p dir="auto">Here is <code class="notranslate">flutter doctor</code></p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel dev, v1.1.4, on Mac OS X 10.13.6 17G4015, locale en-US)
[✓] Android toolchain - develop for Android devices (Android SDK version 28.0.3)
[✓] iOS toolchain - develop for iOS devices (Xcode 10.1)
[✓] Android Studio (version 3.1)
[✓] VS Code (version 1.30.1)
[✓] Connected device (1 available)

• No issues found!"><pre class="notranslate"><code class="notranslate">Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel dev, v1.1.4, on Mac OS X 10.13.6 17G4015, locale en-US)
[✓] Android toolchain - develop for Android devices (Android SDK version 28.0.3)
[✓] iOS toolchain - develop for iOS devices (Xcode 10.1)
[✓] Android Studio (version 3.1)
[✓] VS Code (version 1.30.1)
[✓] Connected device (1 available)

• No issues found!
</code></pre></div>
<h2 dir="auto">Steps to Reproduce</h2>
<p dir="auto">Don't really know - was just writing my app at the time. I see a lot of these kinds of issues open, but not really sure whether mine is unique or not.</p>
<h2 dir="auto">Logs</h2>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="I/flutter (21656): ══╡ EXCEPTION CAUGHT BY GESTURE ╞═══════════════════════════════════════════════════════════════════
I/flutter (21656): The following assertion was thrown while handling a gesture:
I/flutter (21656): 'package:flutter/src/material/ink_well.dart': Failed assertion: line 41 pos 15: 'controller !=
I/flutter (21656): null': is not true.
I/flutter (21656): 
I/flutter (21656): Either the assertion indicates an error in the framework itself, or we should provide substantially
I/flutter (21656): more information in this error message to help you determine and fix the underlying cause.
I/flutter (21656): In either case, please report this assertion by filing a bug on GitHub:
I/flutter (21656):   https://github.com/flutter/flutter/issues/new
I/flutter (21656): 
I/flutter (21656): When the exception was thrown, this was the stack:
I/flutter (21656): #2      new InteractiveInkFeature (package:flutter/src/material/ink_well.dart:41:15)
I/flutter (21656): #3      new InkSplash (package:flutter/src/material/ink_splash.dart:130:8)
I/flutter (21656): #4      _InkSplashFactory.create (package:flutter/src/material/ink_splash.dart:61:16)
I/flutter (21656): #5      _TextFieldState._createInkFeature (package:flutter/src/material/text_field.dart:366:46)
I/flutter (21656): #6      _TextFieldState._startSplash (package:flutter/src/material/text_field.dart:405:42)
I/flutter (21656): #7      _TextFieldState._handleTapDown (package:flutter/src/material/text_field.dart:384:5)
I/flutter (21656): #8      TapGestureRecognizer._checkDown.&lt;anonymous closure&gt; (package:flutter/src/gestures/tap.dart:142:57)
I/flutter (21656): #9      GestureRecognizer.invokeCallback (package:flutter/src/gestures/recognizer.dart:102:24)
I/flutter (21656): #10     TapGestureRecognizer._checkDown (package:flutter/src/gestures/tap.dart:142:9)
I/flutter (21656): #11     TapGestureRecognizer.acceptGesture (package:flutter/src/gestures/tap.dart:121:7)
I/flutter (21656): #12     GestureArenaManager.sweep (package:flutter/src/gestures/arena.dart:156:27)
I/flutter (21656): #13     BindingBase&amp;GestureBinding.handleEvent (package:flutter/src/gestures/binding.dart:147:20)
I/flutter (21656): #14     BindingBase&amp;GestureBinding.dispatchEvent (package:flutter/src/gestures/binding.dart:121:22)
I/flutter (21656): #15     BindingBase&amp;GestureBinding._handlePointerEvent (package:flutter/src/gestures/binding.dart:101:7)
I/flutter (21656): #16     BindingBase&amp;GestureBinding._flushPointerEventQueue (package:flutter/src/gestures/binding.dart:64:7)
I/flutter (21656): #17     BindingBase&amp;GestureBinding._handlePointerDataPacket (package:flutter/src/gestures/binding.dart:48:7)
I/flutter (21656): #18     _invoke1 (file:///b/build/slave/Linux_Engine/build/src/flutter/lib/ui/hooks.dart:134)
I/flutter (21656): #19     _dispatchPointerDataPacket (file:///b/build/slave/Linux_Engine/build/src/flutter/lib/ui/hooks.dart:91)
I/flutter (21656): (elided 2 frames from class _AssertionError)
I/flutter (21656): 
I/flutter (21656): Handler: onTapDown
I/flutter (21656): Recognizer:
I/flutter (21656):   TapGestureRecognizer#cf498(debugOwner: GestureDetector, state: ready, finalPosition: Offset(111.6,
I/flutter (21656):   333.0))
I/flutter (21656): ════════════════════════════════════════════════════════════════════════════════════════════════════"><pre class="notranslate"><code class="notranslate">I/flutter (21656): ══╡ EXCEPTION CAUGHT BY GESTURE ╞═══════════════════════════════════════════════════════════════════
I/flutter (21656): The following assertion was thrown while handling a gesture:
I/flutter (21656): 'package:flutter/src/material/ink_well.dart': Failed assertion: line 41 pos 15: 'controller !=
I/flutter (21656): null': is not true.
I/flutter (21656): 
I/flutter (21656): Either the assertion indicates an error in the framework itself, or we should provide substantially
I/flutter (21656): more information in this error message to help you determine and fix the underlying cause.
I/flutter (21656): In either case, please report this assertion by filing a bug on GitHub:
I/flutter (21656):   https://github.com/flutter/flutter/issues/new
I/flutter (21656): 
I/flutter (21656): When the exception was thrown, this was the stack:
I/flutter (21656): #2      new InteractiveInkFeature (package:flutter/src/material/ink_well.dart:41:15)
I/flutter (21656): #3      new InkSplash (package:flutter/src/material/ink_splash.dart:130:8)
I/flutter (21656): #4      _InkSplashFactory.create (package:flutter/src/material/ink_splash.dart:61:16)
I/flutter (21656): #5      _TextFieldState._createInkFeature (package:flutter/src/material/text_field.dart:366:46)
I/flutter (21656): #6      _TextFieldState._startSplash (package:flutter/src/material/text_field.dart:405:42)
I/flutter (21656): #7      _TextFieldState._handleTapDown (package:flutter/src/material/text_field.dart:384:5)
I/flutter (21656): #8      TapGestureRecognizer._checkDown.&lt;anonymous closure&gt; (package:flutter/src/gestures/tap.dart:142:57)
I/flutter (21656): #9      GestureRecognizer.invokeCallback (package:flutter/src/gestures/recognizer.dart:102:24)
I/flutter (21656): #10     TapGestureRecognizer._checkDown (package:flutter/src/gestures/tap.dart:142:9)
I/flutter (21656): #11     TapGestureRecognizer.acceptGesture (package:flutter/src/gestures/tap.dart:121:7)
I/flutter (21656): #12     GestureArenaManager.sweep (package:flutter/src/gestures/arena.dart:156:27)
I/flutter (21656): #13     BindingBase&amp;GestureBinding.handleEvent (package:flutter/src/gestures/binding.dart:147:20)
I/flutter (21656): #14     BindingBase&amp;GestureBinding.dispatchEvent (package:flutter/src/gestures/binding.dart:121:22)
I/flutter (21656): #15     BindingBase&amp;GestureBinding._handlePointerEvent (package:flutter/src/gestures/binding.dart:101:7)
I/flutter (21656): #16     BindingBase&amp;GestureBinding._flushPointerEventQueue (package:flutter/src/gestures/binding.dart:64:7)
I/flutter (21656): #17     BindingBase&amp;GestureBinding._handlePointerDataPacket (package:flutter/src/gestures/binding.dart:48:7)
I/flutter (21656): #18     _invoke1 (file:///b/build/slave/Linux_Engine/build/src/flutter/lib/ui/hooks.dart:134)
I/flutter (21656): #19     _dispatchPointerDataPacket (file:///b/build/slave/Linux_Engine/build/src/flutter/lib/ui/hooks.dart:91)
I/flutter (21656): (elided 2 frames from class _AssertionError)
I/flutter (21656): 
I/flutter (21656): Handler: onTapDown
I/flutter (21656): Recognizer:
I/flutter (21656):   TapGestureRecognizer#cf498(debugOwner: GestureDetector, state: ready, finalPosition: Offset(111.6,
I/flutter (21656):   333.0))
I/flutter (21656): ════════════════════════════════════════════════════════════════════════════════════════════════════
</code></pre></div>
<h2 dir="auto">Flutter Doctor</h2>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="[√] Flutter (on Microsoft Windows [Version 10.0.16299.192], locale en-AU, channel master)
    • Flutter version 0.0.21-pre.299 at C:\Users\kent\Repository\flutter
    • Framework revision 84580b545a (6 days ago), 2018-01-24 13:16:23 -0800
    • Engine revision d715860925
    • Tools Dart version 2.0.0-dev.16.0
    • Engine Dart version 2.0.0-edge.8d9d68751a505426eb5f59a9d29f103fde6bd474

[√] Android toolchain - develop for Android devices (Android SDK 27.0.3)
    • Android SDK at C:\Android\android-sdk
    • Android NDK location not configured (optional; useful for native profiling support)
    • Platform android-27, build-tools 27.0.3
    • ANDROID_HOME = C:\Android\android-sdk
    • Java binary at: C:\Program Files\Android\Android Studio\jre\bin\java
    • Java version OpenJDK Runtime Environment (build 1.8.0_152-release-915-b01)

[√] Android Studio (version 3.0)
    • Android Studio at C:\Program Files\Android\Android Studio
    • Java version OpenJDK Runtime Environment (build 1.8.0_152-release-915-b01)

[√] IntelliJ IDEA Community Edition (version 2017.3)
    • Flutter plugin version 20.0.3
    • Dart plugin version 173.4127.31

[√] Connected devices
    • Pixel • FA6AF0303979 • android-arm • Android 8.1.0 (API 27)"><pre class="notranslate"><code class="notranslate">[√] Flutter (on Microsoft Windows [Version 10.0.16299.192], locale en-AU, channel master)
    • Flutter version 0.0.21-pre.299 at C:\Users\kent\Repository\flutter
    • Framework revision 84580b545a (6 days ago), 2018-01-24 13:16:23 -0800
    • Engine revision d715860925
    • Tools Dart version 2.0.0-dev.16.0
    • Engine Dart version 2.0.0-edge.8d9d68751a505426eb5f59a9d29f103fde6bd474

[√] Android toolchain - develop for Android devices (Android SDK 27.0.3)
    • Android SDK at C:\Android\android-sdk
    • Android NDK location not configured (optional; useful for native profiling support)
    • Platform android-27, build-tools 27.0.3
    • ANDROID_HOME = C:\Android\android-sdk
    • Java binary at: C:\Program Files\Android\Android Studio\jre\bin\java
    • Java version OpenJDK Runtime Environment (build 1.8.0_152-release-915-b01)

[√] Android Studio (version 3.0)
    • Android Studio at C:\Program Files\Android\Android Studio
    • Java version OpenJDK Runtime Environment (build 1.8.0_152-release-915-b01)

[√] IntelliJ IDEA Community Edition (version 2017.3)
    • Flutter plugin version 20.0.3
    • Dart plugin version 173.4127.31

[√] Connected devices
    • Pixel • FA6AF0303979 • android-arm • Android 8.1.0 (API 27)
</code></pre></div>