15 questions
0
votes
0
answers
56
views
How to share CKRecord with CKShare properly
When i try to save CKRecord with CKShare using setModifyRecordsCompletionBlock
NSOperationQueue * quwuw = [[NSOperationQueue alloc] init];
[quwuw setMaxConcurrentOperationCount:1];
[self ...
0
votes
0
answers
38
views
Trying to use CKQuerySubscription on a shared record
as the title says, I'm trying to subscribe for changes using CKQuerySubscription, the subscription is correctly created (present on CK dashboard) but I'm not receiving a notification on my phone (not ...
0
votes
1
answer
616
views
SwiftUI CKShare Set Default Permission to Read Only
I have a couple of apps that include CloudKit record sharing and it now seems to work ok in iOS 16.
I only include Read Write and Read Only permission options and require the share recipient be in the ...
0
votes
1
answer
469
views
SwiftUI: Sharing NSSharingService on macOS not receiving share
I have a simple test application that attempts to share a CoreData record with another user using NSSharingService. I can create my share and that works,
but when I try to receive the share it opens ...
1
vote
0
answers
126
views
How do I fetch or query shares from a database in CloudKit?
I was able to query records from CloudKit, but the CKRecord objects I retrieved were not able to cast to CKShare. How else would I retrieve shares in CloudKit. The cloudkit.share record type is not ...
0
votes
1
answer
455
views
CloudKit: How to use CKFetchShareParticipants and CKModifyRecords to get share URL?
I'm following this WWDC video and some sample code found online (regrettably Apple didn't include sample code in its WWDC talk), with this code below I am getting my CKShareParticipant ok but this ...
6
votes
1
answer
340
views
Cannot share with UICloudSharingController; vanishes with "uploading" message
while presenting the UICloudSharingController on top of a view, it presents the screen and when I select the messages option to send a message to a person whom I want to share with, it gives a ...
1
vote
0
answers
199
views
Cannot fetch record zones from shared database
let share = CKShare(rootRecord: infraRecord)
// save
let op: CKFetchShareParticipantsOperation = CKFetchShareParticipantsOperation(userIdentityLookupInfos: lookupInfos)
...
0
votes
2
answers
369
views
Users can't open CKShare record when they accepted the record and application starts
Working my way thru implementing the CKShare functionality of CloudKit.
I Haven manged to get to the part to share a record (via email for example) and also can confirm the user received the invite. ...
0
votes
3
answers
775
views
CKShare - Failed to modify some records error - CloudKit
I'm trying to share a record with other users in CloudKit but I keep getting an error. When I tap one of the items/records on the table I'm presented with the UICloudSharingController and I can see ...
0
votes
1
answer
157
views
CloudKit share workflow ends with: To open it, you'll need the latest version of "app_name"
I'm trying to create a CKShare on a set of CKRecords using CloudKit. I've made it through most of the workflow:
create a 'root_record' that all shared records will identify as
parent
add several ...
16
votes
3
answers
4k
views
Share Core Data between users with NSPersistentCloudKitContainer
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 ...
0
votes
1
answer
665
views
CloudKit acceptShare error - "Couldn't get a Sharing identity set"
I am programatically creating a CKShare and sharing the URL with recipients over email; when they do this, they click on the link and the UIApplication 'userDidAcceptCloudKitShareWithMetadata' method ...
1
vote
1
answer
310
views
CKShare "userDidAcceptCloudKitShareWith" is only triggered by first installation of same user
in Appdelegate I have userDidAcceptCloudKitShareWith
but it gets only fired for the first device from the user who has accepted the invitation.
Example:
User A invites User B.
User B accepts ...
4
votes
5
answers
2k
views
CloudKit CKShare userDidAcceptCloudKitShareWith Never Fires on Mac App
I am working on accepting a CKShare in a macOS app in Swift 4. I've already done all the following:
Create the CKShare and save it with its rootRecord to CloudKit
Add a participant (CKShare....