In-process crash reporting for iOS, macOS and tvOS apps
open sourceMIT AND Apache-2.0free
PLCrashReporter is an in-process crash reporting framework for iOS, macOS and tvOS. When your app crashes it writes a report with application, system, process and thread details, register state for the crashed thread and backtraces for every thread, unwinding stacks with DWARF and Apple's compact unwind data, using only public APIs. Reports are protobuf-encoded; the library or the bundled plcrashutil tool turns them into Apple's standard text format for symbolication with atos. First released in 2008 by Plausible Labs and now maintained by Microsoft, it installs through CocoaPods, Carthage or Swift Package Manager.
Problems it solves
- catch crashes in my iOS app and save a crash report
- build my own crash reporting for macOS apps without a hosted service
- get symbolicated stack traces from iOS app crashes
Features
- in-process crash reports with backtraces for all threads
- full register state for the crashed thread
- stack unwinding with DWARF and Apple compact unwind data
- uses only supported, public APIs and doesn't interfere with lldb or gdb
- plcrashutil converts reports to Apple's text format
Alternatives
The same job
These do what PLCrashReporter does.
- Bugfender Collect logs, crashes and user feedback remotely from your mobile and web apps
- Sentry Developer-first error tracking and performance monitoring
- KSCrash Open source crash reporting framework for iOS, macOS, tvOS, watchOS and visionOS
- Raygun Application monitoring for web and mobile apps
- Luciq Agentic mobile observability
- Rollbar Every production error, found and fixed
