Home / Mac / Analysis of Apple Unified Logs [Entry 12] – Quick and easy unified log collection from iOS devices for testing – mac4n6.com

Analysis of Apple Unified Logs [Entry 12] – Quick and easy unified log collection from iOS devices for testing – mac4n6.com




Collecting Unified Logs on macOS systems is pretty straight forward. You can use the command, and yes – you must be root.

sudo log collect 

Collection from iOS device is not as obvious. I think most of us do the sysdiagnosis / AirDrop method which is difficult. Trying to trigger a sewing diagnosis on an iOS device can be frustrating to get the right buttons with the right timing. (Not unlike trying to get a device in DFU mode!)

In the recent testing I noticed the argument ̵

1; device-udid in ‘log’ man page. This functionality seems to have appeared in 10.15. The following also appeared

  • – device name – The device name, ie: “Elwoods iPhone”

  • device – “First device found”. I guess I would consider this the #YOLO option. 🤷🏻‍♀️

This argument has been very useful in recent tests to circumvent the frustration of sewing diagnostics on iOS devices. I like to use UDID instead of name, so I want to use idevice_id from libimobiledevice to get it quickly.


Source link