2,366 questions
5 votes
1 answer
63 views
CloudKit Web Services Server-to-server Authentication failed using PHP
I've been trying to get the server to server request for quite some time, but unfortunately I keep getting this error: 2025-11-19T03:19:29Z:"mybody":/database/1/"mycontainer"/...
0 votes
0 answers
44 views
macOS/iOS app CloudKit only syncs after app is force quite, or device is locked and unlocked
The core issue seems to be that while we receive CloudKit notifications and can access the data after app restart, the NSPersistentCloudKitContainer doesn't seem to be processing remote changes in ...
2 votes
1 answer
72 views
SwiftUI iCloud Drive app folder not showing in Files app
I’m building a SwiftUI app that integrates with iCloud Drive. The goal is for the app’s Documents folder to appear in the user’s iCloud Drive, just like other apps that expose their folders. I have ...
1 vote
0 answers
66 views
Sync not working for independent watchOS app using CloudKit and SwiftData
I'm working on an independent watchOS app and I was looking for the best solution to persist data locally and have an online sync with the iCloud storage. I've found out about the SwiftData which is ...
0 votes
1 answer
75 views
How to share CKRecord with UIActivityViewController?
This is a warning I had when trying to use UICloudSharingController with preparationHandler: Use -[UIActivityViewController initWithActivityItemsConfiguration:] and pass it a ...
2 votes
0 answers
77 views
CloudKit remote notifications in macOS get clogged up
I have a macOS app which uses CloudKit. I'm trying to deliver remote notifications for database record changes, but I didn't get any notifications through. I've set everything correctly and according ...
0 votes
0 answers
78 views
"Invalid bundle ID for container" error when using multiple bundle identifiers for Debug and Release builds
Background: My app successfully uses CloudKit syncing, and syncing works reliably in general. I'm using multiple .xcconfig files to distinguish between Debug and Release builds. These define ...
0 votes
2 answers
163 views
List won't update when item is deleted
I have two selectable lists, the first is populated with Category model objects and the second with Subcategory model objects (which are taken from selected Category value of the first list). When I ...
1 vote
0 answers
73 views
See owner name when joining a public shared iCloud CKRecord through a CKShare on iOS 26
I have an iOS app that uses CloudKit to allow users to share data with other users through iCloud. One user joins another user's record through the shareURL from a CKShare created by the record owner, ...
0 votes
0 answers
61 views
How to allow Cloud Encryption in CoreData and CloudKit?
How to migrate if the following problem occurs? The current Coredata and CloudKit database contains records which do not use allowCloudEncryption. Since we thought of advanced data protection for user'...
0 votes
1 answer
117 views
Avoid duplicate CKRecords when syncing SwiftData with CloudKit
The app I'm working on aims to show its users one unique Item per day. The Item has an associated ItemText and ItemImage. All Items are created when the user installs the app (see the create() ...
0 votes
0 answers
32 views
Is it possible to revert committed deletion from Core Data Cloudkit in Swift?
A user has accidentally deleted a root record that removes all data from the user. The data is stored in Cloudkit CoreData with Transaction History enabled. I have noticed in the CoreData database ...
0 votes
1 answer
57 views
How to tell the source of the changed coredata objects in NSManagedObjectContextObjectsDidChange
I need to know the source of the changed coredata objects returned from NSManagedObjectContextObjectsDidChange. I have some shared objects, and want to send a notification if the source is other than ...
0 votes
0 answers
16 views
Cloudkit references do not reflect coredata relationships
In core-data I have a contact and location entity. I have one-to-many relationship from contact to locations and one-to-one from location to contact. I create contact in a seperate view and save it. ...
0 votes
1 answer
50 views
App data update issue thru Core data sync to CloudKit
I have setup push notifications and updates in CK are updating UI well. The issue I have is Syncing between Core Data and CK. It's set to use NSPersistentCloudKitContainer with ...