Hello, I recently encountered an issue following the transfer of my app between Apple Developer accounts and would appreciate any insights or solutions.
Here's a summary of the situation:
App Transfer: I transferred an app from one Apple Developer account to another. The app's bundle ID remained unchanged during this process.
App Update: After the transfer, I integrated a new feature into the app and pushed the updated version to TestFlight under the new account.
Installation Issue: When I installed the TestFlight version of the app from the new account on my device, which already had the app installed from the old account, the app logged out the user. It appears that the UserDefaults data was not retained, resulting in the loss of stored user data.
My hypothesis is that the transfer between accounts caused the user defaults to reset, leading to the data loss. Has anyone else experienced this issue, and if so, are there any recommended solutions or best practices to prevent UserDefaults from resetting during such transfers?
Thank you in advance for your assistance.
User defaults are stored in your app’s container and that’s preserved across an app transfer. The most likely cause of this problem is the keychain. I talk about that topic in detail in App ID Prefix Change and Keychain Access.
Share and Enjoy
—
Quinn “The Eskimo!” @ Developer Technical Support @ Apple
let myEmail = "eskimo" + "1" + "@" + "apple.com"