Random crash - TrustKit was not initialized
TomBentz opened this issue · 0 comments
TomBentz commented
Hi,
I have a published app using TrustKit. Sometimes I received crash logs from Crashlytics
Fatal Exception: TrustKit was not initialized TrustKit must be initialized using +initSharedInstanceWithConfiguration: prior to accessing sharedInstance
I configure TrustKit using the plist key TSKConfiguration
, and only use TrustKit.sharedInstance().pinningValidator.handle(challenge, completionHandler: completionHandler)
on every network call.
How can this crash only occurs sometimes and 98% of the users don't have it ?