-
Re: Cloudkit Write Permission error for some records
rschluet Jul 16, 2019 10:55 AM (in response to rschluet)BTW, I am able to save the other records successfully from the app.
-
Re: Cloudkit Write Permission error for some records
digitalglen Jul 16, 2019 11:27 AM (in response to rschluet)When I recently encountered something similar, the problem was resolved when I editted permissions in Schema > Security Roles.
-
Re: Cloudkit Write Permission error for some records
rschluet Jul 17, 2019 5:54 AM (in response to digitalglen)Thanks, digitalden
That worked. I had to check read and write for that table. Funny that I could save most of the records.
-
Re: Cloudkit Write Permission error for some records
pittsylvania Nov 24, 2019 9:44 AM (in response to digitalglen)What does this mean Spok?
Schema? Security Rules? What? Where are these things?
-
Re: Cloudkit Write Permission error for some records
PBK Nov 24, 2019 2:39 PM (in response to pittsylvania)> Schema? Security Rules? What? Where are these things?
Xcode, select the target app, Signing & Capabilities,CloudKit Dashboard
Select the container for the app on CloudKit
This gets you to the CloudKit Dashboard.
Select Development. (this may be a drop down menu at the top labelled Production)
Select Schema. (this may be a drop down menu at the top labeled Data)
Select Security Roles (This may be on a drop down menu at the top labelled Record Types)
Select the permissions for World, Authenticated and Creator.
Then you may need to deploy to production.
-
-
-
Re: Cloudkit Write Permission error for some records
pittsylvania Nov 24, 2019 9:46 AM (in response to rschluet)On your simulator or you iPhone, go to setting and sign-in to iCloud. Users are not allowed to WRITE (CREATE) records to CloudKit unless they are signed-in to Apple iCloud. This is what causes this Permission Error. Apple should obviously add more color to their error; it shouldn't be so hard for devs to debug it (but it is).