我在 macOS Monterey (12.0.1) 上,而不是 iOS、objective-c、XCode 13
在为 arm64 构建我的应用程序后,我收到此日志消息:
[general] *** -[NSKeyedUnarchiver validateAllowedClass:forKey:] allowed unarchiving safe plist type ''NSString' (0x1dcb1c848) [/System/Library/Frameworks/Foundation.framework]' for key 'NS.objects', even though it was not explicitly included in the client allowed classes set: '{(
"'NSDictionary' (0x1dcaee5d0) [/System/Library/Frameworks/CoreFoundation.framework]"
)}'. This will be disallowed in the future.
知道是什么原因造成的以及如何摆脱它吗?
编辑:从 macOS Monterey 开始,在 arm64 上编译的每个应用程序似乎都会发生这种情况。所以它可能是一个通用的苹果错误