-
Notifications
You must be signed in to change notification settings - Fork 29.3k
Closed
Labels
platform-iosiOS applications specificallyiOS applications specificallyt: hot reloadReloading code during "flutter run"Reloading code during "flutter run"toolAffects the "flutter" command-line tool. See also t: labels.Affects the "flutter" command-line tool. See also t: labels.
Description
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
- Create new flutter app
- Add few
print
's in the code - Run app with
flutter run
on ios device - 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)
ben-hunter-hansen, delCatta, t3o, seb-almeida, Brunux and 16 more
Metadata
Metadata
Assignees
Labels
platform-iosiOS applications specificallyiOS applications specificallyt: hot reloadReloading code during "flutter run"Reloading code during "flutter run"toolAffects the "flutter" command-line tool. See also t: labels.Affects the "flutter" command-line tool. See also t: labels.