ios - iOS 15 - Xcode 13-RC 警告:-[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 问题。
编辑:这已在最新版本的 Crashlytics 中得到修复。
推荐阅读
- amazon-web-services - AWS CDK - 如何为账户 2 中的服务器部署组提供对账户 1 中我的代码管道的工件存储桶的跨账户访问权限
- virtualbox - Jupyter Notebook and VirtualBox VM sharing the same port (conflict) - how do I change the VM port?
- android - Cannot initialize MockMaker
- swiftui - CalendarKit SwiftUI Events
- python - Email gets stuck in outlook outbox when sending via python script
- reactjs - useContext with React Hooks to set state of parent from child
- php - Decode hex string to string like hex2bin method in PHP
- apache-kafka - Kafka 可以将已删除的记录插入到 sink 数据库中作为审计历史记录吗?
- java - 为什么有些源代码使用 var{Number} 形式的变量名
- javascript - Javascript 和 HTML5:对象不透明度和颜色