I created an app in CloudKit last year and works fine.
Now I'm creating a new app but I've a very stupid problem (maybe is the covid in my mind), in permission I can't flag the "Create" permission, so when I create a record the console prints:
Optional("Error saving record <CKRecordID: 0x100dc1540; recordName=idnumber0000001, zoneID=_defaultZone:__defaultOwner__> to server: CREATE operation not permitted")
I don't know if was changing something, in my old app in security role, the box "create" is flagged. In new app, inside security role in CloudKit dashboard:
if I create new Security Role, its possible to check Create:
But how can I assign this role to all users?
the simple save record code:
let record = CKRecord(recordType: "VIP",
recordID: CKRecord.ID(recordName:"idnumber0000001"))
record["firstName"] = "Simone"
let publicDatabase = CKContainer.default().publicCloudDatabase
publicDatabase.save(record) { (record, error) in
if (error != nil) {
print("\(String(describing: error?.localizedDescription))")
}
else {
print("record saved")
}
}
Post
Replies
Boosts
Views
Activity
We are unable to complete the review of your app because one or more of your in-app purchase products have not been submitted for review.
BUT
I can't re-submit the in-app because was already submitted.
In fact, all of the status of in-app are green and approved. I created a new one called "TEST", after I created it, it appears the button "add in-app". If I click on it, it appears only the TEST in app (the other one no because are already submitted). See attached.
I've already submitted other app with in-app.
Was changed something?