Skip to content

Instantly share code, notes, and snippets.

@lerosua
Created November 9, 2012 05:55
Show Gist options
  • Save lerosua/4043966 to your computer and use it in GitHub Desktop.
Save lerosua/4043966 to your computer and use it in GitHub Desktop.
使用atos查看crash后的地址
设置xcode使用环境
export DEVELOPER_DIR="/Applications/XCode.app/Contents/Developer"
查看当前xcode环境
xcode-select --print-path
~/Documents/work/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/Library/PrivateFrameworks/DTDeviceKit.framework/Versions/A/Resources/symbolicatecrash -o output.txt me.crash YinBa.app.dSYM
~/Documents/work/Xcode.app/Contents/Developer/usr/bin/atos -arch armv7s -o 'YinBa.app'/'YinBa' $1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment