In this article, we're going to show you how to view your iPhone's debugging logs live. Updated июнь 6, 2018: Our suggestions are up to date for iOS 12 and for Windows now that the Apple Configurator app is no longer available for Windows.
How to Access the iPhone Debug Log/Console on Windows
The folks over at Quamotion are kind enough to provide compiled Windows ports of the open source project libimobiledevice. If you're comfortable using Windows command prompt or power shell, you can download Quamotion's Windows libimobiledevice tools
The tool you want to run is idevicesyslog
Note: If you're a more novice user and aren't sure how to use
idevicesyslog, send us a note. I'm considering posting a more user-friendly Windows tool here, but would love to know if there's interest before doing so. :)
How to Access the iPhone Debug Log/Console on macOS
You could get
idevicesyslog on your Mac, but there's two easier ways to view the iPhone console on Mac.
Option 1 for macOS: Console
On newer versions of macOS, the Console app will connect and show you console log messages from your iPhone, Apple Watch, and other connected Apple devices. So cool!
If you try to open the device logging in newer versions of Xcode, Xcode simply opens the Console app with the device selected.
Option 2 for macOS: Apple Configurator 2
Download the app Apple Configurator 2 from Apple on the Mac App Store.
Run Apple Configurator 2, and double-click on your iPhone.
Consolein the left column.
Scroll around, or export your log to a text file using the "Save" button for easier reading and searching. If you're testing out a specific problem, I recommend pressing the "Clear" button to erase all of the old text, reproduce your problem, and then click "Save" to save the nice isolated log text to a file.