Skip to content

Xcode 13 Beta 5 warning about NSKeyedUnarchiver validateAllowedClass #8636

@jorydekort

Description

@jorydekort

My environment

  • Xcode version: Xcode 13 beta 5
  • Firebase SDK version: 8.7.0
  • Installation method: CocoaPods
  • Firebase Component: Core, CoreDiagnostics, Crashlytics,

The problem

Run a project with FirebaseCrashlytics embedded. Warning will show on launch:

    "'NSDictionary' (0x7ff84b43fa60) [/System/Library/Frameworks/CoreFoundation.framework]"
)}'. This will be disallowed in the future.
2021-09-09 09:45:03.052203+0200 ******[7997:216371] [general] *** -[NSKeyedUnarchiver validateAllowedClass:forKey:] allowed unarchiving safe plist type ''NSString' (0x7ff84b469a00) [/System/Library/Frameworks/Foundation.framework]' for key 'NS.keys', even though it was not explicitly included in the client allowed classes set: '{(
    "'NSDictionary' (0x7ff84b43fa60) [/System/Library/Frameworks/CoreFoundation.framework]"
)}'. This will be disallowed in the future.
2021-09-09 09:45:03.052291+0200 ******[7997:216371] [general] *** -[NSKeyedUnarchiver validateAllowedClass:forKey:] allowed unarchiving safe plist type ''NSString' (0x7ff84b469a00) [/System/Library/Frameworks/Foundation.framework]' for key 'NS.keys', even though it was not explicitly included in the client allowed classes set: '{(
    "'NSDictionary' (0x7ff84b43fa60) [/System/Library/Frameworks/CoreFoundation.framework]"
)}'. This will be disallowed in the future.
2021-09-09 09:45:03.052426+0200 ******[7997:216371] [general] *** -[NSKeyedUnarchiver validateAllowedClass:forKey:] allowed unarchiving safe plist type ''NSString' (0x7ff84b469a00) [/System/Library/Frameworks/Foundation.framework]' for key 'NS.objects', even though it was not explicitly included in the client allowed classes set: '{(
    "'NSDictionary' (0x7ff84b43fa60) [/System/Library/Frameworks/CoreFoundation.framework]"
)}'. This will be disallowed in the future.
2021-09-09 09:45:03.052539+0200 ******[7997:216371] [general] *** -[NSKeyedUnarchiver validateAllowedClass:forKey:] allowed unarchiving safe plist type ''NSString' (0x7ff84b469a00) [/System/Library/Frameworks/Foundation.framework]' for key 'NS.keys', even though it was not explicitly included in the client allowed classes set: '{(
    "'NSDictionary' (0x7ff84b43fa60) [/System/Library/Frameworks/CoreFoundation.framework]"
)}'. This will be disallowed in the future.
2021-09-09 09:45:03.052658+0200 ******[7997:216371] [general] *** -[NSKeyedUnarchiver validateAllowedClass:forKey:] allowed unarchiving safe plist type ''NSString' (0x7ff84b469a00) [/System/Library/Frameworks/Foundation.framework]' for key 'NS.keys', even though it was not explicitly included in the client allowed classes set: '{(
    "'NSDictionary' (0x7ff84b43fa60) [/System/Library/Frameworks/CoreFoundation.framework]"
)}'. This will be disallowed in the future.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions