Matt Coneybeare

MC

Fixing Symbolicatecrash...

| Comments

Because you found your way here, I am assuming you already know what symbolicatecrash is and when/why you would use it. If not, take a detour here and come back. This tool has been great but is very temperamental. It worked for a while when I first started, then it broke and stopped giving results. I applied the Alan Quatermain Fix, but things still weren’t right.

Well, tonight I had a client app rejected from crash I couldn’t reproduce. I only had 1 crash log from Apple, and the stupid symbolicatecrash script wasn’t finding anything! I had to dig in and see what was up. After spending a little bit brushing up my Perl, I was able to fix the problem.

Basically, the Regex that the script uses was failing to match in two places: the bundle name, and the versions.

Change lines 372-377 in the symbolicatecrash script to look like this:

There are 2 changes from the pre-Alan-Quartermain-Fix:
On line 374, I changed the “(.+)” to be “([^\s]+)” just like the AQ fix.
On line 375, I changed the “\s+ .+ \(.+\) \s*” to be “\s+ \w+ \s*” because my crash reports never have versions in parenthesis.

I don’t know if this will work for everybody, but it works for me and the crash reports I get back from iPods and iPhones. Good luck!

Comments

My name is Matt Coneybeare, I design and develop for iOS (iPhone, iPad and iPod Touch), Mac OS X and the Web out of New York. In 2008 I started a software company called Urban Apps that has made some pretty popular apps such as Ambiance and Hourly News. My current Stack Overflow reputation is about 27k.

I was a Rockstar a decade ago, but then went back to school and collected a Bachelor's Degree in Computer Science from U.C. Berkeley. Now I am settled down with my beautiful wife Di and our two doggies Hamachi and Foxy. While coding, I walk several miles/day on my Treadmill Desk. When not at my desk, I love exploring New York City as a Yelp Elite, or training for marathons.

Contact information

Name
Matt Coneybeare
Email
Website
Twitter
Instagram
GitHub
LinkedIn
Google+