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?
Indeed. This is a known limitation )-:
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"