Skip to content

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

@theniceboy

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

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