Skip to content

"print" statements do not work with iOS 13.7 physical device #65519

Description

@theniceboy

Steps to Reproduce

  1. Run flutter create bug.
  2. Write a print statement (in the build function, for example)
  3. Run the application on a physical iOS 13.7 device (I'm running on an iPhone X)

Expected results:
Content in print statements showing up after flutter run

Actual results:
No print results, no error messages either.
The only thing showing are:

Launching lib/main.dart on iPhone in debug mode...
Signing iOS app for device deployment using developer identity: "Apple Development: wei Chen (UZAZDGTPYE)"
Running Xcode build...                                          
Xcode build done.                                           13.9s
Installing and launching...                                        18.9s
Waiting for iPhone to report its views...                            3ms
Syncing files to device iPhone...                                  124ms

Flutter run key commands.
r Hot reload. üî•üî•üî•
R Hot restart.
h Repeat this help message.
d Detach (terminate "flutter run" but leave application running).
c Clear the screen
q Quit (terminate the application on the device).
An Observatory debugger and profiler on iPhone is available at: http://localhost:51874

and hot reload/restart messages.

Logs

flutter run --verbose output exceeds the 65536 char limit. I uploaded it to here

[~/D/bug]── ─ flutter analyze .
Analyzing bug...
No issues found! (ran in 1.2s)
[~/D/bug]── ─ flutter doctor -v
[✓] Flutter (Channel beta, 1.21.0-9.2.pre, on Mac OS X 10.15.6 19G2021, locale en-CN)
    • Flutter version 1.21.0-9.2.pre at /Users/david/prog/flutter
    • Framework revision 81a45ec2e5 (13 days ago), 2020-08-27 14:14:33 -0700
    • Engine revision 20a9531835
    • Dart version 2.10.0 (build 2.10.0-7.3.beta)

[✓] Android toolchain - develop for Android devices (Android SDK version 30.0.1)
    • Android SDK at /Users/david/Library/Android/sdk
    • Platform android-30, build-tools 30.0.1
    • ANDROID_HOME = /Users/david/Library/Android/sdk
    • Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b3-6222593)
    • All Android licenses accepted.

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

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

[!] Android Studio (version 4.0)
    • Android Studio at /Applications/Android Studio.app/Contents
    ✗ Flutter plugin not installed; this adds Flutter specific functionality.
    ✗ Dart plugin not installed; this adds Dart specific functionality.
    • Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b3-6222593)

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

[✓] Connected device (3 available)
    • iPhone (mobile)  • 3854b56ae02b945538c6a8612def4eca1fa8fb8e • ios            • iOS 13.7
    • Web Server (web) • web-server                               • web-javascript • Flutter Tools
    • Chrome (web)     • chrome                                   • web-javascript • Google Chrome 85.0.4183.83

Activity

  1. markusaksli-nc commented on Sep 10, 2020

    @markusaksli-nc
    Contributor

    Hi @theniceboy
    I see there's an open issue addressing the case you described #44718.
    Please follow up on that issue, I'm closing the current one as a duplicate.
    If you disagree, please write in the comments and I will reopen it.
    Thank you

  2. jmagman commented on Sep 22, 2020

    @jmagman
    Member

    Stdout logs aren't being passed along the VM "Stdout" service (which even on #66092 is important for attach flows).

    According to my bisect, this regressed with #54132. Reopening since this is actually a different underlying problem than #44718.

  3. added
    customer: crowdAffects or could affect many people, though not necessarily a specific customer.
    platform-iosiOS applications specifically
    toolAffects the "flutter" command-line tool. See also t: labels.
    on Sep 22, 2020
  4. self-assigned this
    on Sep 22, 2020
  5. pcsosinski commented on Sep 22, 2020

    @pcsosinski

    removing cp: 1.20 in favor of 1.22

  6. github-actions commented on Aug 12, 2021

    @github-actions

    This thread has been automatically locked since there has not been any recent activity after it was closed. If you are still experiencing a similar issue, please open a new bug, including the output of flutter doctor -v and a minimal reproduction of the issue.

  7. locked as resolved and limited conversation to collaborators on Aug 12, 2021
  8. added
    P0Critical issues such as a build break or regression
    and removed on Jun 28, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

P0Critical issues such as a build break or regressioncustomer: crowdAffects or could affect many people, though not necessarily a specific customer.customer: productplatform-iosiOS applications specificallytoolAffects 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