Skip to content

Random crash - TrustKit was not initialized #306

@TomBentz

Description

@TomBentz

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 ?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions