Join GitHub today
SSKeychain doesn't retain/restore its data when app gets updated from iTunes #59
First thanks for having such library
I have been using this open source library for storing the data securely in my iOS app. Yesterday, I face an issue ,SSKeychain wasn't able to retain its data when I updated my app from v1.0 to v2.0 from iTunes.
Here is the cope snippet :
Over here, I generated a unique device string and used the keychain to store the same and the app heavily depends on unique string since from iOS5 to iOS7 there are lots of transformations done by Apple in concerned to Unique Identifier, as the methods got deprecated.
So, is this something that keychain won't be able to retain its values/identifier, when the app gets updated from Apple OR am I missing out at some point. Please help out if its possible to store the Identifier permanently in device, irrelevant of Installing, uninstalling ,reset and updating the app.
This comment has been minimized.
This comment has been minimized.Show comment Hide comment
I have the same issue too ....
I rarely happen , and don't know how to reproduce the sceen .
But it do happens , maybe changed a new provision file to debug or something.
The key point is , it seems can't get the stored value and my code have to recreate new UUID.