Instabug / Instabug-SP

Other
11 stars 11 forks source link

[Core Data] [Warnings] Use of transformable properties with transformer names that are either unset, or set to NSKeyedUnarchiveFromDataTransformerName #29

Open esthefanielanza-sothebys opened 1 year ago

esthefanielanza-sothebys commented 1 year ago

Steps to Reproduce the Problem

Launch an app with Instabug integrated with the debugger attached.

Expected Behavior

No warnings or errors

Actual Behavior

Receiving warnings at app launch

- [error] fault: One or more models in this application are using transformable properties with transformer names that are either unset, or set to NSKeyedUnarchiveFromDataTransformerName. Please switch to using "NSSecureUnarchiveFromData" or a subclass of NSSecureUnarchiveFromDataTransformer instead. At some point, Core Data will default to using "NSSecureUnarchiveFromData" when nil is specified, and transformable properties containing classes that do not support NSSecureCoding will become unreadable.
- CoreData: fault: One or more models in this application are using transformable properties with transformer names that are either unset, or set to NSKeyedUnarchiveFromDataTransformerName. Please switch to using "NSSecureUnarchiveFromData" or a subclass of NSSecureUnarchiveFromDataTransformer instead. At some point, Core Data will default to using "NSSecureUnarchiveFromData" when nil is specified, and transformable properties containing classes that do not support NSSecureCoding will become unreadable.
- [error] CoreData: One or more models in this application are using transformable properties with transformer names that are either unset, or set to NSKeyedUnarchiveFromDataTransformerName. Please switch to using "NSSecureUnarchiveFromData" or a subclass of NSSecureUnarchiveFromDataTransformer instead. At some point, Core Data will default to using "NSSecureUnarchiveFromData" when nil is specified, and transformable properties containing classes that do not support NSSecureCoding will become unreadable.
- CoreData: warning: Property 'attributes' on Entity 'ExecutionTrace' is using nil or an insecure NSValueTransformer.  Please switch to using "NSSecureUnarchiveFromData" or a subclass of NSSecureUnarchiveFromDataTransformer instead.

Instabug integration code

    public func start() {
        Instabug.welcomeMessageMode = .disabled
        Instabug.start(withToken: Configuration.errorReportingToken,
                       invocationEvents: [.shake])
    }

SDK Version

11.9.1

iOS Version

iOS 16.2

Device Model

Simulator ( iPhone 14 Pro )

husseinkishk commented 1 year ago

@esthefanielanza-sothebys Thank you for bringing the issue to our attention. I'm pleased to inform you that we have resolved the problem and the fix is on the way. We truly appreciate your patience and understanding.