Provider update: macOS application support

| 3 min. (428 words)

We are pleased to announce the addition of macOS application support for Raygun Crash Reporting and Raygun Pulse. Integrating the Raygun4MacOS provider into your application to log details to your Raygun account means you’ll never be in the dark about how well your macOS applications are performing.

macOS application support

This provider works in a very similar way to our existing iOS provider. Crashes of various kinds are automatically detected and reported the next time the application starts up. Stack traces in the crash reports are initially made up of memory addresses that need to be resolved using dSYM files. The dSYM files for your applications can be uploaded to Raygun in the exact same way as if using the Raygun4iOS provider. Raygun then uses the dSYMs to symbolicate the crash reports and produce human readable stack traces for you.

Raygun4MacOS will automatically listen to when your application starts and stops, detects the views that your users navigate through, and logs the performance of network calls that your application makes. The information then gets sent to your Raygun account and displayed in various charts so that you can assess the data.

At the top level, you get comprehensive statistics about:

  • New and returning users
  • Where in the world your application is used
  • A list of sessions
  • Performance values for view loads and network calls
  • Application version adoption
  • You can then drill down for more information about a particular view in your application, usage statistics for a particular country or see the exact flow that a particular user took through your application

Get Raygun4MacOS

When setting up an new application in your Raygun account, or when enabling Crash Reporting or Pulse in an existing application, you’ll now see that you can select macOS from the platform select screen:

This will display the simplified setup instructions for Raygun4MacOS. The full provider documentation is available here. Here’s a quick run through the setup steps:

Step 1

Install the provider into your application via the CocoaPod named Raygun4MacOS.

Step 2

Enable Raygun4MacOS in your App.Delegate class using the following line:

[[Raygun sharedReporterWithApiKey:@"GO9+8y4fb2u8EMdW5X/EBA=="] attachPulse];

Step 3

If possible, specify any user information that you want to make it easier to correlate data in Raygun to your customers:

[[Raygun sharedReporter] identifyWithUserInfo:[[RaygunUserInfo alloc]
  initWithIdentifier:emailaddress
  withFullName:fullName
  withFirstName:firstName]];

**You’re all set **

Raygun is now primed and ready to blast crash reports and RUM data from your macOS application with our latest update – macOS application support.

Do you have any questions about setting up macOS application support? Get in touch with a friendly team member here.