XCode 13 Warnings

When I run my application in XCode13.I get 3 new warnings which wasn't existing before -

-[NSKeyedUnarchiver validateAllowedClass:forKey:] allowed unarchiving safe plist type ''NSNumber' (0x1f67269c8) [/System/Library/Frameworks/Foundation.framework]' for key 'NS.keys', even though it was not explicitly included in the client allowed classes set: '{(   "'GDTCORStoredEvent' (0x1027d0d18) [/private/var/containers/Bundle/Application/C17808CD-E349-4864-A828-E508D6A82690/GulfBankMobileApp-DEV.app]",   "'NSMutableDictionary' (0x1f671b460) [/System/Library/Frameworks/CoreFoundation.framework]",   "'NSMutableSet' (0x1f671a6f0) [/System/Library/Frameworks/CoreFoundation.framework]" )}'. This will be disallowed in the future.

-[NSKeyedUnarchiver validateAllowedClass:forKey:] allowed unarchiving safe plist type ''NSString' (0x1f6726270) [/System/Library/Frameworks/Foundation.framework]' for key 'NS.keys', even though it was not explicitly included in the client allowed classes set: '{(   "'NSDate' (0x1f671b640) [/System/Library/Frameworks/CoreFoundation.framework]",   "'NSDictionary' (0x1f671b7a8) [/System/Library/Frameworks/CoreFoundation.framework]" )}'. This will be disallowed in the future.

-[NSKeyedUnarchiver validateAllowedClass:forKey:] allowed unarchiving safe plist type ''NSString' (0x1f6726270) [/System/Library/Frameworks/Foundation.framework]' for key 'NS.keys', even though it was not explicitly included in the client allowed classes set: '{(   "'NSDate' (0x1f671b640) [/System/Library/Frameworks/CoreFoundation.framework]",   "'NSDictionary' (0x1f671b7a8) [/System/Library/Frameworks/CoreFoundation.framework]" )}'. This will be disallowed in the future.

What is the reason? How to fix this?

  • I get hundreds of these, swamping performance of my app in the debugger. Lacking a clear way to address whatever the warnings are telling me, is there a way to suppress them for now?

Add a Comment

Replies

Same problem, request solution