Reputation: 40496
Is there a way to simulate the update of an app from Version 1 to 2?
I am not sure about what happens when I build & run an application in Xcode. I believe that when the app is already installed in the simulator, an update is happening just like it does when the user downloads a new version from the App Store. For example sqlite3 database files remain intact when I hit Bild & Run, while the binary of the app itself gets replaced.
So the question is: Is THIS already a safe way of testing update procedures? What are the alternatives PRIOR to releasing the app and getting dozens of bad reviews?
Upvotes: 0
Views: 453
Reputation: 11
If you have a separate test team that doesn't have access to the xcode project, they can still test updates using the xcode organizer:
That'll keep the existing data intact, allowing you to test the new app with data from the old version.
Upvotes: 0
Reputation: 48398
Unless you change a saved file, it remains as it was. If you really want to test this, then just install the current/old version on a test device. Then build the new version onto the same device. This has the same effect as an update through iTunes for the users.
Upvotes: 2