I've developed an app that contains an inbox that displays message from a CloudKit container. Works perfectly on simulator. Once I tried to run it on a phone..in Xcode debug environment and TestFlight it is unable to complete any transactions with production database. I'm running out of ideas. So far I have tried:
- Verify settings between debug and release in Signing & Capabilities
- Add CloudKit.framework to Framework, Libraries, and Embedded Content
- Verify record and key names
- verify .entitlements files
Please help!