I'm trying to create a custom CrashInstallation.
When I call init on this class I get a crash with message: KSCrashInstallation does not support init. Subclasses must call initWithRequiredProperties:
Steps to reproduce
call CrashInstallation() <- KSCrashInstallation does not support init. Subclasses must call initWithRequiredProperties:
try with CrashInstallation(requiredProperties: []) <- Argument passed to call that takes no arguments
Thanks for this report. I've fixed this issue and also made a required method "sink" visible in public API (release 2.0.0-rc.5). An example of installation subclassing is now a part of the sample.
Describe the bug
I'm trying to create a custom CrashInstallation. When I call init on this class I get a crash with message: KSCrashInstallation does not support init. Subclasses must call initWithRequiredProperties:
Steps to reproduce
CrashInstallation()
<- KSCrashInstallation does not support init. Subclasses must call initWithRequiredProperties:CrashInstallation(requiredProperties: [])
<- Argument passed to call that takes no argumentsCrash report or stack trace
No response
KSCrash version
2.0.0-rc.4
Operating System
iOS
OS version
iOS 18.0
Device model
No response
Xcode version
16.0
Additional context
No response