Reputation: 277
My app is using the Keychain access to store passwords. It works fine.
But once I update the application, I lose access to the previously stored passwords. The user needs to unlock it again. Also, the user is unable to delete his password even if he allows the app to use the password with the Keychain dialog.
Does this have to do with my bundle-indentifier / version ? Can I fix it with code signing ?
Any help welcome
Upvotes: 0
Views: 190
Reputation: 126038
Code signing is the correct way to fix this. The keychain uses the signature to verify that this is the "same" program, even though its contents have changed, based on it having a matching signature. I'm not certain exactly, but I think the basic requirement is that the signing entity be the same, and that the bundle ID match. See Apple's code signing guide for more info.
Upvotes: 1