Skip to content

Instantly share code, notes, and snippets.

@rpetrich
Created April 12, 2015 18:00
Show Gist options
  • Save rpetrich/80ddd275ef43ef68edfa to your computer and use it in GitHub Desktop.
Save rpetrich/80ddd275ef43ef68edfa to your computer and use it in GitHub Desktop.
Symbolicate script for iOS
#!/bin/sh
if [[ $# == 0 ]]; then
ssh tunnel "bash -c \"symbolicate /var/mobile/Library/Logs/CrashReporter/LatestCrash.*\""
else
if [[ $1 == /* ]]; then
ssh tunnel "symbolicate '$1'"
else
ssh tunnel "bash -c \"symbolicate /var/mobile/Library/Logs/CrashReporter/LatestCrash-$1.*\""
fi
fi
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment