Skip to content

Instantly share code, notes, and snippets.

View ming-chu's full-sized avatar
:octocat:
Focusing

Kenneth Chu ming-chu

:octocat:
Focusing
View GitHub Profile
@ming-chu
ming-chu / find_symbolicatecrash.sh
Last active April 9, 2018 10:10
Find symbolicatecrash path for DSYM file symbolicate
#/bin/sh
export DEVELOPER_DIR=/Applications/Xcode.app/Contents/Developer
find /Applications/Xcode.app/ -name "symbolicatecrash" | grep "SharedFrameworks"
#/Applications/Xcode.app/Contents/SharedFrameworks/DVTFoundation.framework/Versions/A/Resources/symbolicatecrash
#This app can sybolicate the *.crash, *.ips files, it really helps!
symbolicatecrash --dsym /path/xxxx.xcarchive/dSYMs --output name.symbolicated.crash name.crash
@ming-chu
ming-chu / check_appdynamics_dsym_is_uploaded_or_not.sh
Last active February 5, 2018 04:43
check appdynamics dsym is uploaded or not
#/bin/sh
#prepare the settings
ADRUM_ACCOUNT_NAME="xxxxx-a23413453"
ADRUM_LICENSE_KEY="1234132-1234-1234-1234-12341234123"
ADRUM_EUM_PROCESSOR="https://app.domain.net"
ADRUM_ACCOUNT_NAME="xxxxxx-ajksjdkfasdf"
uuid="XXXX-XXXX-XXXX-XXXX-XXXXXXX"
#Check is uploaded or not by calling the folowing api
#/bin/sh
#Retrieve uuid from DSYM
$dwarfdump --uuid your_app.dSYM | cut -d ' ' -f 2