Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[NSKeyedUnarchiver validateAllowedClass:forKey:] allowed unarchiving safe plist type ''NSString' (0x1d6465058) #342

Closed
chokNight opened this issue Dec 7, 2021 · 1 comment

Comments

@chokNight
Copy link

Xcode version
13.1

dropbox-sdk-objc-c
6.2.0

Dependency Manager
CocoaPods

Goals
During the launch of the app, i am receiving following warning messages in Xcode Debug console.

2021-12-07 10:47:53.124193+0800 DropBoxTest[3636:91933] [general] *** -[NSKeyedUnarchiver validateAllowedClass:forKey:] allowed unarchiving safe plist type ''NSString' (0x1d6465058) [/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS.simruntime/Contents/Resources/RuntimeRoot/System/Library/Frameworks/Foundation.framework]' for key 'uid', even though it was not explicitly included in the client allowed classes set: '{(
"'DBAccessToken' (0x10480bde8) [/Users/choknight/Library/Developer/CoreSimulator/Devices/68BB9678-FB8B-490F-B8B2-ADBB7B3D3EC0/data/Containers/Bundle/Application/8D96F50E-13E6-4108-B010-FF6903BADC72/DropBoxTest.app/Frameworks/ObjectiveDropboxOfficial.framework]"
)}'. This will be disallowed in the future.
2021-12-07 10:47:53.124329+0800 DropBoxTest[3636:91933] [general] *** -[NSKeyedUnarchiver validateAllowedClass:forKey:] allowed unarchiving safe plist type ''NSString' (0x1d6465058) [/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS.simruntime/Contents/Resources/RuntimeRoot/System/Library/Frameworks/Foundation.framework]' for key 'accessToken', even though it was not explicitly included in the client allowed classes set: '{(
"'DBAccessToken' (0x10480bde8) [/Users/choknight/Library/Developer/CoreSimulator/Devices/68BB9678-FB8B-490F-B8B2-ADBB7B3D3EC0/data/Containers/Bundle/Application/8D96F50E-13E6-4108-B010-FF6903BADC72/DropBoxTest.app/Frameworks/ObjectiveDropboxOfficial.framework]"
)}'. This will be disallowed in the future.
2021-12-07 10:47:53.124435+0800 DropBoxTest[3636:91933] [general] *** -[NSKeyedUnarchiver validateAllowedClass:forKey:] allowed unarchiving safe plist type ''NSString' (0x1d6465058) [/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS.simruntime/Contents/Resources/RuntimeRoot/System/Library/Frameworks/Foundation.framework]' for key 'refreshToken', even though it was not explicitly included in the client allowed classes set: '{(
"'DBAccessToken' (0x10480bde8) [/Users/choknight/Library/Developer/CoreSimulator/Devices/68BB9678-FB8B-490F-B8B2-ADBB7B3D3EC0/data/Containers/Bundle/Application/8D96F50E-13E6-4108-B010-FF6903BADC72/DropBoxTest.app/Frameworks/ObjectiveDropboxOfficial.framework]"
)}'. This will be disallowed in the future.

Expected results
SDK initializer in AppDelegate, is causing the NSKeyedUnarchiver warning as follows. Normally, there should not be any warning.

@greg-db
Copy link
Contributor

greg-db commented Dec 7, 2021

Thanks for the report. This appears to be a duplicate of #330, so I'll close this in favor of that one. Please subscribe to that issue for updates.

@greg-db greg-db closed this as completed Dec 7, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants