nspersistentcloudkitcontainer Questions

2

I'm using NSPersistentCloudKitContainer to synchronise data between different devices with CloudKit. It works perfectly well with a new project, however when I'm using it with old projects the old ...
Allocution asked 3/7, 2019 at 18:10

2

Solved

When I checked Used with CloudKit, the error Folder.children must not be ordered appeared. Any idea about an ordered relationship? Using Xcode 11 (beta 3). Here's the Folder Entity:

2

Solved

I have a SwiftUI App, where the user can buy with in-app purchases some premium features. One of this features is iCloud sync over more devices. I am using CoreData to save users data. My persisten...
Keri asked 4/2, 2020 at 17:58

1

This is a copy of a thread I've created on Apple's Forum here Background I have an established app in the App Store which has been using NSPersistentCloudKitContainer since iOS 13 without any issue...
Rodrickrodrigez asked 30/8, 2021 at 4:57

3

I am using CloudKit to store publicly available data and the new NSPersistentCloudKitContainer as part of my Core Data stack to store/sync private data. When a user opens my app, they are in 1 of ...

1

Solved

I'm building an application that makes use of NSPersistentCloudKitContainer. The app doesn't have sharing functionality and its only backend functionality is to use the cloudkit container to sync d...
Resht asked 16/3, 2022 at 5:58

2

I have implemented NSPersistentCloudKitContainer to get my data synced to CloudKit, I would like to know that the sync is finished and there is no other change pending to be synced. When I tried r...
Swelter asked 2/12, 2019 at 12:24

1

Solved

I have an app out in the App Store, and I am working on a lightweight migration (adding new attributes and new entities, not deleting anything). From extensive research, I know that I need to add a...

2

I'm using NSPersistentCloudKitContainer on iOS15 beta 4 to sync core data across devices. When launching on device, logged into iCloud, I receive the following error in the logs: <NSCloudKitMirr...
Danuloff asked 28/7, 2021 at 8:53

5

Solved

I am trying to perform history tracking in my CoreData+CloudKit project which uses NSPersistentCloudKitContainer. I have been following along with Apple's sample project I want to perform certain ...
Heathen asked 3/12, 2019 at 13:45

1

Solved

My app uses CoreData with iCloud as backend. Multiple devices can access the iCloud database which is thus .public. The local CoreData store is synchronized with iCloud using an NSPersistentCloudKi...
Prospectus asked 29/9, 2020 at 17:48

2

Let's say we have a working NSPersistentCloudKitContainer and just one CoreData entity named Item. Let's assume we want to sync between iOS, iPad and Mac app. I watched this WWDC session about syn...
Groceryman asked 23/2, 2020 at 18:0

3

Solved

Apple introduced the NSPersistentCloudKitContainer with iOS 13 which enable us to use CloudKit with Core Data. I got it working pretty much instantly on different devices but my main issue is still...
Allhallowmas asked 26/6, 2019 at 8:44

1

I'm working on an app that uses NSPersistentCloudKitContainer to share data between devices. The core data model has multiple entities, two of which are connected using a relationship with it's res...
Checkers asked 13/8, 2019 at 3:7

1

Solved

I am adding a Today Extension to my existing app. I have added the an App Group and used this post to successfully migrate my Core Data's data to the App Group's store. My app uses both a NSPersist...

3

Solved

I am attempting to configure CoreData+CloudKit using NSPersistentCloudKitContainer to automatically sync data to/from CloudKit. Following the Apple guide, it was trivial enough to set up an Entity,...

0

I am using NSPersistentCloudKitContainer, not sure if that's the cause of my issue or CloudKit generic behaviour. The sync setup works fine so far. I am now adding a new feature, causing some an is...
Selfsufficient asked 25/5, 2020 at 10:48

1

Core Data model attribute with type binary and "Allow External Storage" enabled cause crash in NSPersistentCloudKitContainer sync mechanism. This happens only on receiving device, meaning upload t...
Dibasic asked 19/10, 2019 at 14:28

0

I have an app that uses NSPersistentCloudKitContainer to synchronise data with iCloud. Users reported occasional data loss after which I started debugging my implementation. Part of my app’s imple...

1

Solved

I just added the option for a user to toggle Cloud sync inside my app where I save whether or not the user wants to use iCloud sync in UserDefaults under "useCloudSync". I load my persistentContain...

3

I have managed to get CoreData with CloudKit working with the new NSPersistentCloudKitContainer on the iOS version of my app and got it to automatically sync while the app is running. However, when...

1

Solved

I am using a NSPersistentCloudKitContainer for the database in my iOS app. By default it seems to log all events to the console, I am assuming for debugging purposes. These messages look like this:...
Intermezzo asked 19/11, 2019 at 16:10

2

Solved

I've recently released an app that uses NSPersistentCloudKitContainer. In development my database is synchronizing across devices as expected, but in production my database is not synchronizing at ...
Wouldbe asked 3/10, 2019 at 12:12

2

Solved

I followed the same steps as in "Using Core Data With CloudKit": New project Enable Core Data + Cloud Kit Add iCloud/CloudKit entitlement + Background mode/remote notifications entitlement. In th...
Harakiri asked 14/6, 2019 at 16:0
1

© 2022 - 2024 — McMap. All rights reserved.