Instabug / Instabug-iOS

In-app feedback and bug reporting tool for apps.
https://instabug.com/
Other
291 stars 67 forks source link

Deprecated NSKeyedUnarchiveFromData warning #433

Closed KacperCzapp closed 3 years ago

KacperCzapp commented 3 years ago

Steps to Reproduce the Problem

Set a symbolic breakpoint at:

+[NSKeyedUnarchiver unarchiveObjectWithData:]
+[NSKeyedUnarchiver unarchiveTopLevelObjectWithData:error:]
+[NSKeyedUnarchiver unarchiveObjectWithFile:]

When breakpoint is caught the stack trace is:

#0  0x00007fff207d1614 in +[NSKeyedUnarchiver unarchiveObjectWithData:] ()
#1  0x0000000111d7f2f2 in ___lldb_unnamed_symbol582$$Instabug ()
#2  0x0000000111d7f4b8 in ___lldb_unnamed_symbol586$$Instabug ()
#3  0x0000000111d7b662 in InstabugUserDefaults.ibg_secureObject(forKey:) ()
#4  0x0000000111d7b748 in ___lldb_unnamed_symbol521$$Instabug ()
#5  0x0000000111da1a60 in -[IBGFeatures setFeaturesValues] ()
#6  0x0000000111da1080 in -[IBGFeatures init] ()
#7  0x0000000111da0a50 in __29+[IBGFeatures sharedInstance]_block_invoke ()
#8  0x000000011501974e in _dispatch_client_callout ()
#9  0x000000011501ac9b in _dispatch_once_callout ()
#10 0x0000000111da0a2e in +[IBGFeatures sharedInstance] ()
#11 0x0000000111d012ee in APMConfigurationManager.init() ()
#12 0x0000000111d014ff in ___lldb_unnamed_symbol269$$Instabug ()
#13 0x0000000111cfeae0 in globalinit_33_282887C35E06FEB96B7EC66FD8B766D6_func0 ()
#14 0x000000011501974e in _dispatch_client_callout ()
#15 0x000000011501ac9b in _dispatch_once_callout ()
#16 0x00000001144e859a in swift_once ()
#17 0x0000000111cfeb3f in static APMConfigurationManager.shared.getter ()
#18 0x0000000111dc02d4 in ___lldb_unnamed_symbol942$$Instabug ()
#19 0x0000000111dc052f in ___lldb_unnamed_symbol944$$Instabug ()
#20 0x0000000111dc0000 in globalinit_33_8DFF54A7D19D375BB8CF63DE7B2CA382_func8 ()
#21 0x000000011501974e in _dispatch_client_callout ()
#22 0x000000011501ac9b in _dispatch_once_callout ()
#23 0x00000001144e859a in swift_once ()
#24 0x0000000111dc00ae in ___lldb_unnamed_symbol941$$Instabug ()
#25 0x0000000111ef0a78 in +[Instabug intializeAPMNetworkTracer] ()
#26 0x0000000111ef0392 in +[Instabug intializeInstabugWithToken:invocationEvents:] ()
#27 0x000000010d94b72d in InstabugInitializer.configure() at /Users/username/Documents/Projekty/project-ios/Project/Core/Initializers/InstabugInitializer.swift:35
#28 0x000000010d94de90 in protocol witness for Initializer.configure() in conformance InstabugInitializer ()
#29 0x000000010d687393 in closure #1 in AppDelegate.application(_:didFinishLaunchingWithOptions:) at /Users/username/Documents/Projekty/project-ios/project/Core/AppDelegate.swift:68
#30 0x000000011424fced in Sequence.forEach(_:) ()
#31 0x000000010d686bfd in AppDelegate.application(_:didFinishLaunchingWithOptions:) at /Users/username/Documents/Projekty/project-ios/Project/Core/AppDelegate.swift:67

Expected Behavior

No warnings are shown.

SDK Version

10.7.5

iOS Version

14.5

Device Model

Any simulator or device

stale[bot] commented 3 years ago

This issue has been automatically marked as stale due to inactivity. It will be closed if no further activity occurs. Thank you for your contributions.

stale[bot] commented 3 years ago

This issue has been automatically closed due to inactivity.