CrashReporter
CrashReporter copied to clipboard
Lightweight macOS Crash Reporter Setup
macOS Monterey introduces a weird JSON like format for crashes. Also, the `.crash` file extension is passé.
The crash files generated by macOS are stored outside the App Sandbox, and therefore not accessible when the app operates within an App Sandbox.
The server could own a private key, and apps send a token encrypted by a public key counterpart. If the token is not recognized, the request is discarded.
Modern macOS formats crash reports differently than it used to. PLCrashReporter comes with a formatter that could help provide us with readable crash logs. The rest of the `PLCrashReporter` source...
- Need to lookup the `.xib` manually, not via `init(windowNibName:)` - Should use `Bundle.module` and not the implicit `Bundle.main`. - Consider programmatic UI instead