CloudKit sharing was introduced this year and I'm trying to implement it.
I'm using the UICloudSharingController
and I'm saving the share and its root record in the completion handler which succeeds. However, when I share the link (e.g. via iMessage) and open it on another device (different iCloud account, same build), it shows the following error:
Couldn't open "Share"
You need a newer version of
APPNAME
to open this, but the required version couldn't be found in the App Store. If you're not sure which version to use, check with the owner.
As this is a new app, it is of course not in the App Store. I need to test sharing first (Chicken or the egg?), so anyone knows how to test CloudKit sharing?
Sync user data between multiple apps from the same developer If you have a suite of apps, they can all share the same CloudKit container so users can have access to their data for all of your apps on every device they have associated with their iCloud account.
CloudKit record zones (CKRecordZone) provide a mechanism for relating groups of records within a private database. Unless a record zone is specified when a record is saved to the cloud it is placed in the default zone of the target database.
Cost. Although the running cost of servers is a big deal for developers. But in case of CloudKit you don't have to be worried about paying large expenses at all. As it offers a reasonable storage amount completely free.
Turns out, I was missing the
<key>CKSharingSupported</key>
<true/>
entry in my Info.plist
. This resolved the error.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With