SecureNSUserDefaults icon indicating copy to clipboard operation
SecureNSUserDefaults copied to clipboard

iOS 7.1

Open stuartkhall opened this issue 10 years ago • 6 comments

Hi,

I'm building with Xcode 5.1.1 targeting iOS 7.1, any settings that were created previously throw the following:

Cannot receive object from encrypted data storage: *** -[NSKeyedUnarchiver initForReadingWithData:]: incomprehensible archive

Any ideas how to save them?

Thanks

stuartkhall avatar Apr 17 '14 01:04 stuartkhall

Does your secret contain the UDID?

dreipol avatar Apr 17 '14 12:04 dreipol

No, just a random string

On Thu, Apr 17, 2014 at 8:51 PM, dreipol [email protected] wrote:

Does your secret contain the UUID?

Reply to this email directly or view it on GitHub: https://github.com/nielsmouthaan/SecureNSUserDefaults/issues/1#issuecomment-40710241

stuartkhall avatar Apr 17 '14 12:04 stuartkhall

Ok, because the UDID may change when updating the iOS version.

dreipol avatar Apr 17 '14 12:04 dreipol

Having the same issue here, any clues?

Thanks!

asheinfeld avatar Jun 26 '14 18:06 asheinfeld

I never solved it sorry.

stuartkhall avatar Jun 26 '14 23:06 stuartkhall

Try to clean original nsuserdefaults before using secure version. Just delete the app on the simulator or your device.

yehe01 avatar Jul 26 '15 06:07 yehe01