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

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

我安装了新的 Xcode 13-RC,在我的项目中,我在控制台中收到了下一个警告:

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.

有人知道那是什么吗?

我们也看到了这一点,并将其追溯到 Firebase Crashlytics 库。我认为除了在他们最后修补它之后进行更新之外,我们无能为力。 Github issue.

编辑:这已在最新版本的 Crashlytics 中修复。