Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
A script to stream all the logs that simulator is currently booted
A=`xcrun simctl list | grep Booted | perl -ne 'print "$1\n" if / \(([0-9A-Z\-]+)\) /' | sort | uniq `
for UUID in $A
xcrun simctl spawn $UUID log stream --level debug\
--timeout 1h\
--style compact \
--predicate 'subsystem == ""' &
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment