Skip to content

warning: *** -[NSKeyedUnarchiver validateAllowedClass:forKey:]:  #29

@fxxch

Description

@fxxch

*** -[NSKeyedUnarchiver validateAllowedClass:forKey:]: NSSecureCoding allowed classes list contains [NSObject class], which bypasses security by allowing any Objective-C class to be implicitly decoded. Consider reducing the scope of allowed classes during decoding by listing only the classes you expect to decode, or a more specific base class than NSObject. This will become an error in the future. Allowed class list: {(
"'NSObject' (0x216cb9e30) [/usr/lib]"
)}

When I was debugging, the console would output a large number of the above warning messages, affecting my normal log view.
I wonder if LUKeychainAccess is not adapted

macOS Monterey
Xcode: Version 13.3.1 (13E500a)
iOS: 15.4

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