We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3b57618 commit 79fbef8Copy full SHA for 79fbef8
1 file changed
Sources/SQLiteData/CloudKit/SyncEngine.swift
@@ -106,7 +106,7 @@
106
let containerIdentifier =
107
containerIdentifier
108
?? ModelConfiguration(groupContainer: .automatic).cloudKitContainerIdentifier
109
- ?? (context == .preview ? "preview" : nil)
+ ?? (context != .live ? "container" : nil)
110
var allTables: [any SynchronizableTable] = []
111
var allPrivateTables: [any SynchronizableTable] = []
112
for table in repeat each tables {
@@ -2212,7 +2212,7 @@
2212
2213
2214
2215
2216
2217
guard let containerIdentifier else {
2218
throw SyncEngine.SchemaError.noCloudKitContainer
0 commit comments