Deploying app on tester's device unable to save record in iCloud

87 Views Asked by At

My app uses cloudkit to save records and works just fine on my phone. I added a friend of mine's device to my 'devices' and uploaded my app to his phone. I set iCloud dashboard to 'Production' and tried to add a record with his phone. He can access the database, and fetch the data, but cannot save a record. We both have iPhone 6+ and have the exact same builds of the app. I can add records on my phone no prob. Does Apple not allow this?

1

There are 1 best solutions below

0
On

If it's in the public database, make sure the security roles (in CloudKit Dashboard) are set up such that you allow writes from authenticated users to the record type in question. Maybe you have set only yourself to have the role to write to the record type?