CrashReporterExtension does not work on MacOS.

The new CrashReporterExtension is documented as working on MacOS, but the system extension definition disagrees, it only shows it as working on iOS:

/System/Library/ExtensionKit/ExtensionPoints/com.apple.crash-reporter.extension.appexpt

How can we work around that problem?

Answered by DTS Engineer in 917067022

Indeed. This is a known limitation )-:

Written by migueldeicaza in 857947021

How can we work around that problem?

AFAIK there’s no direct workaround for this.

Until this problem is resolved you have a couple of options on the Mac:

  • Lean in to MetricKit. This is really effective, but it does have some limitations (see below).
  • Implement your own crash reporter. This is not something I recommend, because of the issues discussed here.

FYI, the primary limitations of the MetricKit approach are:

  • The user has to relaunch your app in order for MetricKit to deliver the diagnostic payload. If your app crashes and the ‘rage quits’ the entire activity, you never hear about it.
  • You can’t extract custom diagnostics from the crashed process.

Share and Enjoy
—
Quinn “The Eskimo!” @ Developer Technical Support @ Apple
let myEmail = "eskimo" + "1" + "@" + "apple.com"

Indeed. This is a known limitation )-:

Written by migueldeicaza in 857947021

How can we work around that problem?

AFAIK there’s no direct workaround for this.

Until this problem is resolved you have a couple of options on the Mac:

  • Lean in to MetricKit. This is really effective, but it does have some limitations (see below).
  • Implement your own crash reporter. This is not something I recommend, because of the issues discussed here.

FYI, the primary limitations of the MetricKit approach are:

  • The user has to relaunch your app in order for MetricKit to deliver the diagnostic payload. If your app crashes and the ‘rage quits’ the entire activity, you never hear about it.
  • You can’t extract custom diagnostics from the crashed process.

Share and Enjoy
—
Quinn “The Eskimo!” @ Developer Technical Support @ Apple
let myEmail = "eskimo" + "1" + "@" + "apple.com"