Prior to iOS 8, I accessed console logs on iOS 8 devices using iPhone Configuration Utility. That no longer works.
Is there any other way to access these logs without installing a program as large as XCode?
Ask Different is a question and answer site for power users of Apple hardware and software. It only takes a minute to sign up.
Sign up to join this communityYes. Apple Configurator 2 has a command line tool that can tail and/or dump the console logs and do some other nice operations like pair, enumerate connected devices, etc...
cfgutil syslog
That's the official Apple way and it's much smaller a download than Xcode. Both are free but cfgutil
is much more powerful and can do things like remove apps, erase, pair, and even run scripts when you attach and detach iOS devices to your Mac.
To make cfgutil
available at the command line, open Configurator 2, and choose Configurator 2 -> Install Automation Tools ... from the menu.
You could also look at homebrew and install libimobiledevice - that is open source and free as well and seems to be kept updated fairly well over time.
brew install libimobiledevice
cfgutil
looks like only work for live log, not the old log the device produced without connecting to Apple Configurator 2
Sep 3, 2019 at 11:51
There is a tool called iTools
It provides real time system logs just like Console log in iPCU or xcode
Connect Your device
to system.
click on itools->Under iPhone->>Advanced->System logs
With iTools 3.1.9.8 (available for Mac & Windows) you can get logs from your iOS device by selecting Toolbox
and Real-time Log
:
I'm using libimobiledevice(link). This is a cross-platform software protocol library and tools to communicate with iOS® devices natively.
Once these are installed, you can plug in a paired device, unlock it and use the following command to view the logs on the screen: idevicesyslog
This is akin to running a tail against the device. Again, the device must be paired. You can use the command line (e.g. if you’re running this on Linux) to view the logs, but if you’re not paired you’ll need to pair your device: idevicepair pair
You can also unpair: idevicepair unpair
When pairing and unpairing, you should see the appropriate entries in /var/db/lockdown
.