Skip to main content
Filter by
Sorted by
Tagged with
0 votes
0 answers
7 views

at first the operation: operation.recordMatchedBlock = {recordID, result in switch result{ case .success(let record): print("RecordID: \(recordID)...
valentine's user avatar
0 votes
0 answers
44 views

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 ...
SwiftWarrior's user avatar
  • 1,464
1 vote
0 answers
66 views

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 ...
kachmashk's user avatar
2 votes
0 answers
80 views

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 ...
Tritonal's user avatar
  • 881
0 votes
2 answers
163 views

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 ...
Ser Pounce's user avatar
  • 14.3k
0 votes
0 answers
61 views

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'...
FE_Tech's user avatar
  • 1,812
0 votes
0 answers
32 views

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 ...
user14341201's user avatar
0 votes
0 answers
16 views

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. ...
vrao's user avatar
  • 685
0 votes
0 answers
41 views

This function is meant to upload an image to a ckrecord that has a ckasset list field. It has worked up until recently. Now it works fine for saving the initial image, but I get the following error ...
Steve's user avatar
  • 1,171
0 votes
0 answers
54 views

I’m getting a 0xdead10cc crash in a basic CoreData/CloudKit application. I only have one CoreData save call and it's made when the app is in the foreground and it's minor so I don't think it's being ...
Richard Witherspoon's user avatar
0 votes
0 answers
47 views

Problem: When I try to fetch an accepted shared CKRecord from the shared database in CloudKit I unfortunately get this error -> Only shared zones can be accessed in the shared Database. Solution ...
LukeSideWalker's user avatar
0 votes
0 answers
89 views

In my app, I have a class called Project: import Foundation import SwiftData @Model class Project { @Relationship(deleteRule: .nullify, inverse: \ProjectType.projects) var projectType: ...
Ser Pounce's user avatar
  • 14.3k
0 votes
0 answers
48 views

I am using CoreData with CloudKit in my iOS app, and I have encountered a series of issues while syncing data. The logs show multiple context saves and migration skips, but there’s no clear indication ...
Greg_R's user avatar
  • 1
1 vote
0 answers
38 views

Here is my sample code of integration with iCloud let dbName = "GroceryItem1" let fieldName = "todoTitle1" @objc func saveItem(name: String) { let record = CKRecord(...
BraveEvidence's user avatar
0 votes
0 answers
110 views

I tried looking everywhere online and asked AI, but it seems none of the solutions resolved my issue. I am using CoreData or SwiftData with CloudKit to fetch data from the database. I created a simple ...
Travgalax's user avatar
1 vote
0 answers
63 views

I send APNs notifications to my devices with the CloudKit dashboard. I test with two devices; Device with Silent Push Working Successfully: iOS version 16.5.1 (c), Model iPhone Xs Silent Push Failed ...
Ozgur Baykal's user avatar
0 votes
1 answer
467 views

I'm building a simple app that persists data using the SwiftData framework with the additional capability of syncing through CloudKit across devices. All was well until I added a second model object. ...
Rob Stearn's user avatar
1 vote
0 answers
77 views

I'm considering using CloudKit in my app (it doesn't use Core Data) and have read as many materials as I can find. I haven't fully grasped it yet and have a basic question on CKRecord.Reference. Does ...
rayx's user avatar
  • 1,780
0 votes
1 answer
240 views

General problem I have an iOS app which uses Core Data with CloudKit and I reached the point where I need to evolve the schema and migrate existing data. Schema changes What I need is adding a new ...
Francesco Papagno's user avatar
0 votes
0 answers
135 views

I'm building a SwiftUI social photo-sharing app that uses CloudKit, where user profiles (including a CKAsset for profile pictures) are displayed throughout the app. To reduce redundant fetching of ...
dub's user avatar
  • 511
1 vote
0 answers
77 views

I'm using SwiftData with CloudKit and I have the following two classes: @Model class Category { @Relationship(deleteRule: .cascade, inverse: \Book.category) var books : [Book]? var project: ...
Ser Pounce's user avatar
  • 14.3k
1 vote
0 answers
89 views

I’m using Swift Data and CloudKit, with a private container. When developing my understanding is that you should have a target with com.apple.developer.icloud-container-environment key set to “...
Alistair Cooper's user avatar
1 vote
1 answer
356 views

I have the following model set up in my app which utilizes SwiftData and Cloudkit. A Project object has an array of Book objects. A Book object has an array of Reader objects. A Reader object has an ...
Ser Pounce's user avatar
  • 14.3k
1 vote
0 answers
117 views

I’m writing test apps using SwiftData. Running migrations locally works fine. But I couldn’t find anything on how to handle a situation, where my local app is running on e.g. ‘MigrationSchemaV2’ and ...
MatFetsch's user avatar
0 votes
1 answer
100 views

I am creating an iOS app. I saved the data using Realm, but I found CloudKit while I was looking into it because I thought there were many inconveniences with the backup. I understand that CloudKit ...
KimJitae's user avatar
  • 275

1
2 3 4 5
48