Skip to content

Logs not showing on ios #42410

@santervo

Description

@santervo

Debug print/loggings are not shown on iOS console, when running on device.

They don't show up when running via flutter run or VSCode.

However logs show when running via XCode, and also in the Dart Devtools.

This happened to me after updating to most recent flutter and Xcode versions.

Steps to Reproduce

  1. Create new flutter app
  2. Add few print's in the code
  3. Run app with flutter run on ios device
  4. Logs don't get printed in the terminal.

Target Platform: iOS
Target OS version/browser: Mac OS 10.4.6
Devices: IPad 2018

Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel stable, v1.9.1+hotfix.4, on Mac OS X 10.14.6 18G87, locale en-FI)
[✗] Android toolchain - develop for Android devices
    ✗ Unable to locate Android SDK.
      Install Android Studio from: https://developer.android.com/studio/index.html
      On first launch it will assist you in installing the Android SDK components.
      (or visit https://flutter.dev/setup/#android-setup for detailed instructions).
      If the Android SDK has been installed to a custom location, set ANDROID_HOME to that location.
      You may also want to add it to your PATH environment variable.

[✓] Xcode - develop for iOS and macOS (Xcode 11.1)
[!] Android Studio (not installed)
[✓] VS Code (version 1.39.0)
[✓] Connected device (1 available)

Metadata

Metadata

Assignees

No one assigned

    Labels

    platform-iosiOS applications specificallyt: hot reloadReloading code during "flutter run"toolAffects 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