I have an app where I added CloudKit sync. When I test the app in Xcode with a connected device and the simulator (development enviroment) everything works fine, but when I then test the app via a TestFlight build (production enviroment) with two devices it doesn't work. The schema from the Development enviroment was deployed to the Production enviroment in the CloudKit Dashboard.
Are there any differences between the Development and Production environments in CloudKit? Or is there any other common error that I could have ran into?