What is the analogue to CKSyncEngine for public databases
Nobody has claimed this yet.
Assessment
- Difficulty
- 5/5
- Estimated time
- Over a week
- Newbie friendliness
- 25/100
- Issue type
- Feature
- Clarity
- Needs clarification
- Activity status
- Stale
- Tech stack
- swift
- Domain
- databases, mobile-dev
Research direction
Start at the initializeSyncEngine function and the CKSyncEngine.Configuration setup shown in the issue, then consult Apple’s CloudKit documentation for public-database support. Identify a supported approach for syncing a local database with the public database; the work is done when that approach and its limitations are documented.
Written by the indexing model from the issue text.
Description
I modified this piece:
func initializeSyncEngine() {
var configuration = CKSyncEngine.Configuration(
database: Self.container.publicCloudDatabase, // <<<<<<<<<<<<<<<<<<<<< THIS
stateSerialization: self.appData.stateSerialization,
delegate: self
)
And hit the error:
*** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: 'CKSyncEngine cannot be used in the Public database'
*** First throw call stack:
So I read (quickly 😄 ) the documentation and noticed this tid-bit:
So, basically my question is , what is the alternative to CKSyncEngine providing the easiest way to sync a local database with the remote public iCloud?
- Dominant language
- Swift
- Stars
- 270
- Forks
- 15
- PR merge metrics
- No merged PRs in 30d
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from apple/sample-cloudkit-sync-engine
-
Difficulty 4/5 3-5 days Newbie friendliness 28/100
apple/sample-cloudkit-sync-engine#17 · 2 comments ·
-
Difficulty 4/5 3-5 days Newbie friendliness 35/100
apple/sample-cloudkit-sync-engine#15 · 6 comments · 1 reaction ·
-
Difficulty 4/5 3-5 days Newbie friendliness 35/100
apple/sample-cloudkit-sync-engine#13 · 1 comment ·
-
var listID: String Open
Difficulty 1/5 Under an hour Newbie friendliness 42/100
apple/sample-cloudkit-sync-engine#10 · 1 comment ·
-
Implementation flaw Open
Difficulty 5/5 Over a week Newbie friendliness 25/100
apple/sample-cloudkit-sync-engine#5 · 14 comments · 1 reaction ·
All issues in apple/sample-cloudkit-sync-engine
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
-
area:general bug P1 security
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
uttrflow/uttrflow-swift#1333 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
maxgoedjen/secretive#840 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
manaflow-ai/cmux#13763 ·