Question: What would cause an app to use 2 keychain?


The scenario is we have an app lets call it version 1 that uses keychain seamlessly. I can save and retrieve data in it.
Then we release a version 2 it seems to create a new keychain store and use that instead rather using the previous one.


Keychain is unique per bundle id and provisioning profile. Did you change your bundle id when you release version 2?


We checked the Appstore bundleid and the one we are creating, they are similar.

Could it be the provisioning profile then?


it says but can’t find it in official apple docs. You can check also if you are using same keys as before.


Thank you I will look further into this.