Created
January 6, 2020 00:01
-
-
Save jellybeansoup/c5433acc36f767b45bc49f90dbe2a227 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
export DEVELOPER_DIR="/Applications/Xcode.app/Contents/Developer" | |
SYMBOLICATE="/Applications/Xcode.app/Contents/SharedFrameworks/DVTFoundation.framework/Versions/A/Resources/symbolicatecrash" | |
for f in "$@" | |
do | |
SRCNAME=$(echo $(basename "${f}")) | |
SRCPATH=$(echo $(dirname "${f}")) | |
DSTPATH="${SRCPATH}/${SRCNAME%.*}.symbolicated.ips" | |
${SYMBOLICATE} -o "${DSTPATH}" "${f}" | |
echo "${DSTPATH}" | |
done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment