CrashReportExtension lets you build crash reporter extensions that capture and analyze the context of a process crash. Conform a type to the CrashReporterExtension protocol to receive details about a CrashedProcess, including the CrashReason and the BinaryImageInfo for the binary images loaded at the time of the failure. Use the SymbolicatedFrame values to inspect symbolicated stack frames as you analyze the exception. The framework is available on iOS, macOS, tvOS, watchOS, and visionOS.
Extension Essentials 1
The protocol you conform to so the system delivers crash context to your reporter extension.
- PrCrashReporterExtensionThe base type for crash reporter extensions.
Crash Context 2
Types that describe the crashed process and the reason it terminated.
- ClCrashedProcessiOS 27.0+A synchronous client for accessing crash data from the host process.
- StCrashReasoniOS 27.0+Context information about the crash being reported
Binary Images and Stack Frames 2
Values that represent the loaded binary images and symbolicated stack frames captured at the time of the crash.
- StBinaryImageInfoiOS 27.0+A type that represents a binary image loaded in the crashed process.
- StSymbolicatedFrameiOS 27.0+A type that represents a single symbolicated stack frame.