Skip to content

Instantly share code, notes, and snippets.

View ibboris's full-sized avatar

ibboris ibboris

View GitHub Profile
@ibboris
ibboris / Symbolicate Xcode Crashlogs
Created July 30, 2018 20:53 — forked from shahdhiren/Symbolicate Xcode Crashlogs
Symbolicate Xcode Crashlogs
Symbolicate Xcode Crashlogs
---------------------------
To properly get symbols from your archived app's dSYM file and get useful information from your BugSense crash reports (or any other crash reports for that matter):
1. Copy the stack trace from BugSense into TextEdit or any other text editor.
Make sure to use the "clipboard" icon, rather than simply copying the text.
Otherwise you will not get the actual memory locations of the stack trace, which are necessary to look up the references using atos and symbolicate your stack trace.
2. Open XCode and go to the Organizer
3. Find your archive and right-click it, go to open it in the finder.
@ibboris
ibboris / P12toPEM.txt
Last active July 31, 2018 06:28 — forked from shahdhiren/P12toPEM.txt
Convert P12 file for Push Notification to PEM format
Development Phase:
Step 1: Create Certificate .pem from Certificate .p12
Command: openssl pkcs12 -clcerts -nokeys -out apns-dev-cert.pem -in apns-dev-cert.p12
Step 2: Create Key .pem from Key .p12
Command : openssl pkcs12 -nocerts -nodes -out apns-dev-key.pem -in apns-dev-key.p12
Step 3: Optional (If you want to remove pass phrase asked in second step)
Command : openssl rsa -in apns-dev-key.pem -out apns-dev-key-noenc.pem