Really struggling with an IOS keychain issue, wonder if anybody has any thoughts:
I'm working on a brand new Swift version of an existing (Obj-C) app - plan is to publish this as the same app, overwriting the old app, nothing out of the ordinary so far.
The old app stores some user credentials in the keychain, and when I install a testflight build of the new app over the top of the app store app, my standard keychain methods are returning nothing.
Some observations while trying to work out the problem:
- If I run the old app in the simulator, and then the new app in the simulator - everything works fine.
- If I install a testflight build of the OLD app on a clean device, then run a testflight build of the new app on top of it - everything is fine.
- Interestingly, if I install a testflight build of the OLD app on top of the app store app - everything is fine.
So the only problem I have is installing a test flight build of the new app over the original app store app.
This app is used by a large number of users, and we really need to test that migration works correctly on the new version.
Keychain sharing is not enabled for the app, we're using the same provisioning etc...