nielsmouthaan / SecureNSUserDefaults

NSUserDefaults category for iOS and Mac OS X with additional methods to securely save data using strong AES 256-bit encryption.
MIT License
179 stars 26 forks source link

iOS 7.1 #1

Open stuartkhall opened 10 years ago

stuartkhall commented 10 years ago

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

dreipol commented 10 years ago

Does your secret contain the UDID?

stuartkhall commented 10 years ago

No, just a random string

On Thu, Apr 17, 2014 at 8:51 PM, dreipol notifications@github.com 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

dreipol commented 10 years ago

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

asheinfeld commented 10 years ago

Having the same issue here, any clues?

Thanks!

stuartkhall commented 10 years ago

I never solved it sorry.

yehe01 commented 9 years ago

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