iOS 15 - Xcode 13-RC warning: -[NSKeyedUnarchiver validateAllowedClass:forKey:]

Viewed 515

I installed the new Xcode 13-RC and in my project I got the next warning in the console:

2021-09-15 17:30:06.305218+0100 MYProject[511:30187] [general] *** -[NSKeyedUnarchiver validateAllowedClass:forKey:] allowed unarchiving safe plist type ''NSString' (0x1f6902270) [/System/Library/Frameworks/Foundation.framework]' for key 'NS.keys', even though it was not explicitly included in the client allowed classes set: '{(
    "'NSDate' (0x1f68f7640) [/System/Library/Frameworks/CoreFoundation.framework]",
    "'NSDictionary' (0x1f68f77a8) [/System/Library/Frameworks/CoreFoundation.framework]"
)}'. This will be disallowed in the future.

Does anybody know what is that?

1 Answers

We are seeing this as well and have traced it back to the Firebase Crashlytics library. I don't think there's anything we can do except update after they patch it on their end. Github issue.

EDIT: This has been fixed in the latest version of Crashlytics.

Related