Skip to content

After upgrading to Flutter 3.38.0, VSCode/Cursor cannot run debug mode on a real iPhone #178421

@rs5173

Description

@rs5173

Steps to reproduce

Upgrade Flutter to v3.38.0, then create and run a default Flutter project in VSCode/Cursor.

VSCode extensions veriosn
Flutter: 3.122.0
Dart: 3.122.0

Actual results

  • After upgrading to Flutter 3.38.0, VSCode/Cursor cannot run debug mode on a real iPhone(iPhone Xr with iOS18.7.2); the application freezes after launch with blank screen (without displaying the local network permissions dialog box), but it runs normally in Android Studio.
  • I tried flutter clean and flutter pub get, but they had no effect.
  • After using flutter config --no-enable-lldb-debugging, it can start normally, However, it will launch Xcode.

Logs

After running, it remains in the "Flutter: Installing and launching..." state.

Image

Flutter Doctor output

rs5173@zhouxiaoyudeMacBook-Pro ~ % flutter doctor -v
[✓] Flutter (Channel stable, 3.38.0, on macOS 15.7.1 24G231 darwin-arm64, locale
    zh-Hans-CN) [238ms]
    • Flutter version 3.38.0 on channel stable at
      /Users/rs5173/Development/flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision a0e9b9dbf7 (28 hours ago), 2025-11-11 15:00:09 -0600
    • Engine revision cb467e31a5
    • Dart version 3.10.0 (build 3.10.0-290.4.beta)
    • DevTools version 2.51.1
    • Feature flags: enable-web, enable-linux-desktop, enable-macos-desktop,
      enable-windows-desktop, enable-android, enable-ios, cli-animations,
      enable-native-assets, omit-legacy-version-file, enable-lldb-debugging

[✓] Android toolchain - develop for Android devices (Android SDK version 36.1.0)
    [998ms]
    • Android SDK at /Users/rs5173/Library/Android/sdk
    • Emulator version 36.2.12.0 (build_id 14214601) (CL:N/A)
    • Platform android-36, build-tools 36.1.0
    • ANDROID_HOME = /Users/rs5173/Library/Android/sdk
    • Java binary at: /Applications/Android
      Studio.app/Contents/jbr/Contents/Home/bin/java
      This is the JDK bundled with the latest Android Studio installation on
      this machine.
      To manually set the JDK path, use: `flutter config
      --jdk-dir="path/to/jdk"`.
    • Java version OpenJDK Runtime Environment (build 21.0.8+-14196175-b1038.72)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 26.0.1) [664ms]
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Build 17A400
    • CocoaPods version 1.16.2

[✓] Chrome - develop for the web [5ms]
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[!] Proxy Configuration [4ms]
    • HTTP_PROXY is set
    ! NO_PROXY is not set

[✓] Connected device (3 available) [6.0s]
    • iPhone (mobile) • 00008020-000D09992263002E • ios            • iOS 18.7.2
      22H124
    • macOS (desktop) • macos                     • darwin-arm64   • macOS
      15.7.1 24G231 darwin-arm64
    • Chrome (web)    • chrome                    • web-javascript • Google
      Chrome 142.0.7444.162

[✓] Network resources [2.3s]
    • All expected network resources are available.

! Doctor found issues in 1 category.

Metadata

Metadata

Assignees

No one assigned

    Labels

    a: buildBuilding flutter applications with the toolplatform-iosiOS applications specificallyr: fixedIssue is closed as already fixed in a newer versionteam-iosOwned by iOS platform teamtoolAffects the "flutter" command-line tool. See also t: labels.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions