Skip to content

Instantly share code, notes, and snippets.

View triztian's full-sized avatar

Tristian A. triztian

View GitHub Profile
@triztian
triztian / atos & symbolicateCrash utility
Created June 2, 2020 18:33 — forked from venkatarao/atos & symbolicateCrash utility
Symbolicate iPhone app crash - Map hexadecimal addresses to valid function namespace (call stack)
1)...Preliminary
Create a folder 'temp' in ~/, path is '~/temp/'
Keep all files in '~/temp/' i.e. script, .ipa, .dsym and .crash (in fact .ipa is not needed)
2)...Go to '~/temp/'
3)...If there are two Xcode's in system or paths not being set
sudo /usr/bin/xcode-select -switch /Applications/Xcode.app/Contents/Developer/
export DEVELOPER_DIR=/Applications/Xcode.app
@triztian
triztian / symbolizing_osx_crash_logs.md
Created June 2, 2020 18:32 — forked from bmatcuk/symbolizing_osx_crash_logs.md
How to symbolize OSX crash logs

How to Symbolize OSX Crash Logs

Unfortunately, xcode does not yet have support for importing OSX crash logs and symbolizing them. Therefore, you must use the command line and a little bit of manual work.

  1. Find your dSYM file.
    1. Assuming you are using xcode's archive functionality, open the Organizer window from the Window menu.
    2. Click the Archives tab.
    3. Right click on the appropriate build and select Show in Finder.
    4. When Finder opens, right click on the selected archive and select Show Package Contents.
    5. Navigate to the dSYM directory and copy the appropriate dSYM file to a temporary directory.
  2. Then navigate to Products, then Applications, and copy the app file to the same temporary directory.
@triztian
triztian / osx-for-hackers.sh
Last active April 20, 2017 17:46 — forked from matthewmueller/osx-for-hackers.sh
OSX For hackers
# OSX for Hackers (Mavericks/Yosemite)
#
# Source: https://gist.github.com/brandonb927/3195465
#!/bin/sh
# Some things taken from here
# https://github.com/mathiasbynens/dotfiles/blob/master/.osx
# Ask for the administrator password upfront