I was trying to test update scenario from the live App Store app build to RC using TestFlight, but TestFlight gives an alert "You already have this app installed. Do you want to replace..." (see screenshot below). After confirmation, all data from App Store version is gone.
Steps I do:
- Install live app from the App Store
- Login and do some operations to get data in the app and Keychain
- Go to TestFlight iOS app
- Tap "Install" button in TestFlight -> alert "You already have this app installed" appears
- If I tap choose Install, new build is installed
Result:
The app's content including Shared Container (data shared with Extensions) and Keychain arecompletely wiped when I open the app again
My question:
Is this expected behaviour from TestFlight or is it any issue with my app? I'm not aware of any changes between versions which could cause any issues.
I believe this was not happening before (the last time I tried was few weeks ago).
I couldn't find any documentation or release notes regarding TestFlight app behaviour or changes.
Did anyone experience the same issue? Or do you know any resources describing this behaviour?
Thanks for any answers!
I have originally posted this question also to SO here: http://stackoverflow.com/questions/33539534/testflight-alert-while-testing-update-you-already-have-this-app-installed