Skip to content

iOS 13 Device, app stuck at slash screen when use VSCode, but not with terminal.(mDNS lookup failed, attempting fallback to reading device log ) #43570

Closed
@jerryzhoujw

Description

@jerryzhoujw

Steps to Reproduce

  1. iPhone8(iOS13.1.3) device + VSCode:
    * log stop at: Checking for advertised Dart observatories...
    * app just stuck at splash page.
  2. iPhone8(iOS13.1.3) device + Terminal flutter run --debug --verbose -d xxxxxx:
    * log show mDNS lookup failed, attempting fallback to reading device log.
    * the app can pass to home page.
  3. iOS Simulator(iOS13) + VSCode:
    * log show are fine.
    * the app can debug as normal.

Target Platform:iOS
Target OS version/browser:iOS13.1.3
Devices:iPhone8 device

Logs

flutter run --debug --verbose:

  • Because it works when I run it thought terminal, so are there a way to run with --verbose by VSCode's triangle button?
this is the log when run with terminal.
...
[ +405 ms] success
[        ] (lldb)     safequit
[ +120 ms] Process 782 detached
[  +59 ms] Application launched on the device. Waiting for observatory port.
[   +3 ms] Checking for advertised Dart observatories...
[+5020 ms] mDNS lookup failed, attempting fallback to reading device log.
[        ] Waiting for observatory port.
【no more logs after this point】
...

flutter doctor -v:

[✓] Flutter (Channel stable, v1.9.1+hotfix.6, on Mac OS X 10.14.6 18G103, locale en-CN)
    • Flutter version 1.9.1+hotfix.6 at /Users/jerryzhou/Documents/code/flutter/sdk/flutter
    • Framework revision 68587a0916 (6 weeks ago), 2019-09-13 19:46:58 -0700
    • Engine revision b863200c37
    • Dart version 2.5.0


[✓] Android toolchain - develop for Android devices (Android SDK version 28.0.3)
    • Android SDK at /Users/jerryzhou/Library/Android/sdk
    • Android NDK location not configured (optional; useful for native profiling support)
    • Platform android-28, build-tools 28.0.3
    • Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 1.8.0_152-release-1343-b01)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 11.1)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Xcode 11.1, Build version 11A1027
    • CocoaPods version 1.8.4

[✓] Android Studio (version 3.4)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin version 34.0.2
    • Dart plugin version 183.5901
    • Java version OpenJDK Runtime Environment (build 1.8.0_152-release-1343-b01)

[✗] Cannot determine if IntelliJ is installed
    ✗ Directory listing failed

[✓] VS Code (version 1.39.2)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.5.1

[✓] Connected device (2 available)
    • iPhone       • 1daca728d75535c21ced151fc7829191064d0e00 • ios • iOS 13.1.3
    • iPhone 11 Pro Max • 4543F274-DE8D-45CC-8600-EA889708FB37     • ios •
      com.apple.CoreSimulator.SimRuntime.iOS-13-1 (simulator)

Metadata

Metadata

Labels

c: crashStack traces logged to the consoleplatform-iosiOS applications specifically‎‍platform-catalinaIssues related to macOS Catalina

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions