One Quickie


(General->Hacks)
Getting a really annoying warning with nothing actionable when implemented secure (de)coding?
*** -[NSKeyedUnarchiver validateAllowedClass:forKey:] allowed unarchiving safe plist type ''NSString' (0x1ec071f50)
[/Library/Developer/CoreSimulator/Volumes/iOS_22B81/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS
18.1.simruntime/Contents/Resources/RuntimeRoot/System/Library/Frameworks/Foundation.framework]' for key '', 
even though it was not explicitly included in the client allowed classes set: 
'<decode: bad range for [%{public}@] got [offs:647 len:474 within:0]>'. 
This will be disallowed in the future.<decode: bad range for [%{public}@] 
got [offs:1121 len:1 within:0]>
you can set this breakpoint to break there. (wouldn't it have been nice if they had mentioned that in the warning?):
-[NSCoder _warnAboutPlistType:forKey:missingInAllowedClasses:]



borkware home | products | miniblog | rants | quickies | cocoaheads
Advanced Mac OS X Programming book

webmonster@borkware.com