Better iOS crash detection with our latest Cocoa Notifier

Kristine Pinedo in Features on February 19th, 2016

We’re excited to share some huge improvements to our Cocoa Notifier that’ll greatly improve your ability to find and fix crashes in your iOS applications. Crash detection on iOS can be difficult, but our latest features and improvements will give you added reassurance in the accuracy of your crash reports.

New Features

Bitcode Support

We now support Bitcode. Bitcode allows you to take advantage of Apple’s new processor capabilities without needing to send a new version of your app to the store each time. It re-optimizes your apps when Apple adds support for new CPUs in their backend.

Swift Demangling

If you’re already using Bugsnag to monitor your iOS applications, then you know we support desymbolication. We’ve added a layer on top of that now to make it easier to see where in your code something went wrong.

Rather than mangled text errors that make errors very difficult to read, Bugsnag automatically translates Swift symbols into their underlying method calls. With more readable Swift errors, debugging is easier.

Swift demangling

Pre- and Post-crash hooks

Pre- and Post-crash hooks give you more control over your crash reports. If you want to send additional information with reports, you can choose to log added data when your app crashes. If you have privacy and security concerns, you can prevent crash reports from being sent.

More error data for every crash with breadcrumbs

To help you more easily triage and reproduce harmful bugs, we’ve added additional crash-time data for all unhandled exceptions. You can send breadcrumbs with your error reports to better understand the actions a user took prior to seeing a crash.

Breadcrumbs on iOS

Improved handling for more types of crashes

We’ve improved our crash handling for heap corruption and overwritten link registers. In these extreme cases, our notifier performs better, giving you more accurate crash detection and reports.

Fixes

We’ve also made fixes to improve your experience:

  • Bugsnag can now be run side-by-side with other frameworks using KSCrash, the crash recording and reporting library.

  • Crash reports that fail to upload are now resent instead of cancelled.

To take advantage of these improvements, be sure to update to the latest version of our Cocoa Notifier. If you’re using CocoaPods, you can update your notifier by adding Bugsnag to the Podfile:

pod 'Bugsnag'

If not, you can follow these setup instructions.


We hope these improvements will make debugging your iOS applications easier. For more information, please see our Release and Changelog.

If you’re new to Bugsnag, signup for a 14 day free trial. You can get started detecting and fixing crashes in iOS with Bugsnag’s automatic iOS crash reporting. For help, checkout our Cocoa Notifier documentation.

🚀 Bugsnag is hiring! · https://www.bugsnag.com/jobs/