Wednesday, February 22, 2017

The Confusatory — iOS Debugging: Device Console Without Wires

The Confusatory — iOS Debugging: Device Console Without Wires: The Confusatory
cbowns’s tumblr.
iOS Debugging: Device Console Without Wires
For years, I’ve wanted to wirelessly view my iOS device’s console log. The system log often contains useful information from the kernel, system daemons, and any currently-running apps. Xcode briefly supported wireless debugging in Xcode 4, and this included wireless console log access, but it was pulled from later versions and has never re-appeared.
Using libimobiledevice (installed via homebrew), you can wirelessly view the console of any device which your host computer has a pairing record for (i.e. the device has been plugged in, unlocked, and “Trusts” the host computer. More info about pairing records is available around the internet.)
% brew install libimobiledevice
% idevice_id --list to list available device UDIDs.
% idevicesyslog -u , with the device connected via USB or available on the local wireless network.
In informal testing, this works on my home network from a laptop running OS X 10.10.5 to two iOS devices running iOS 8.3.
Please comment if you’re having issues, and I’ll update this post as we discover configuration problems and find workarounds.
1 year ago
3 notes

rahulrockystuff liked this

bencochran liked this

andymatuschak liked this

cbowns posted this
About

No comments: