Post

Replies

Boosts

Views

Activity

Why does CloudKit Console show Encrypted fields in clear text in the console?
Can Apple clarify that the values showing in iCloud Console for Encrypted fields is intentionally being decrypted? Or that it was ever encrypted in the first place? For each of my Encrypted Strings, the value is showing in the console. I am looking at my private database records, but it isn't totally clear that the value is unencrypted because I'm auth'd. These values should have a decrypt button next to them if the user is able to do do. It is unclear if encryption is working otherwise.
1
0
705
Nov ’21
NSPersistentCloudKitContainer Bug
I have been excited to add NSPersistentCloudKitContainer's share functionality to my app but I've noted a few thing I suspect are bugs: -When using share() on a NSManagedObject the share record is set up in a new zone. However, the root NSManagedObject's record is not being updated with the relationship linkage to the shared record. -Secondly, when you revoke a share, the cloudkit.share record is removed from iCloud, but not in the local data stores. This makes the fetchShares() method ineffective for detecting a missing cloudkit.share record. In order to re-share the root object the developer must call out to iCloud directly using the old methods to be sure if the share exists or not. I am using the code from Apple's 'Synchronizing a Local Store to the Cloud' sample. It would be nice if they added support for revoking shares into this sample and addressed these issues.
8
0
5.4k
Sep ’21
Provisioning issue with CoreDataCloudKitDemo
I've been struggling to get the CoreDataCloudKitDemo working. I've updated to Xcode 13 and followed the documented instructions closely. However, I'm getting this error: Provisioning profile "Mac Team Provisioning Profile: com.____.apple-samplecode.CoreDataCloudKitDemo" doesn't include the aps-environment entitlement. A bit of searching says this error is due to Push Notifications not being enabled. However, I do have them enabled. I cannot figure out why this won't run.
3
0
1.5k
Jun ’21