I don't remember if i deployed the changes in my cloudkit schema to production when I uploaded the version 2 of my existing app. since then i had accidentally reseted the environment while trying to do the same for another app. This was in haste, without checking the group identifier in the console. How do I know if everything is fine on the user's end?
Users may or may not have upgraded to the current App Store version, and so you will need to test the following cases:
- The current App Store version works well with the current schema.
- The previous App Store version works well the current schema.
- Updating from the previous version to the current one works well.
You can always test the first case with a production device: setting up a device, downloading your app from the App Store, and confirming it works. If the current production schema doesn't match your current app version, you will most likely get an error.
Once a new version lands on the App Store, there is no way to download the previous version, and so it's up to you to maintain a device that has the previous version for testing purpose. If you don't have that, consider building and submitting your previous version app (assuming you still have the code) as a new version to TestFlight, and then test it with the current schema.
Resetting the development environment overwrites the development schema with the production one, and so you can consider the following as well: resetting the development environment, building a previous version app with Xcode, and testing it with the development schema. That is not completely the same as testing with the production schema, but should be close enough.
Best,
——
Ziqiao Chen
Worldwide Developer Relations.