mirror of
https://github.com/JohnEstropia/CoreStore.git
synced 2026-11-13 12:23:32 +01:00
fix compile error on tvOS and watchOS
This commit is contained in:
1 parent
8fa3109e91
commit
f25879b6fe
1 file changed
+2
-2
@@ -153,8 +153,8 @@ public final class SQLiteStore: LocalStorage {
|
||||
public let storeOptions: [AnyHashable: Any]? = autoreleasepool {
|
||||
|
||||
var storeOptions: [AnyHashable: Any] = [NSSQLitePragmasOption: ["journal_mode": "WAL"]]
|
||||
if #available(iOS 11, OSX 10.13, *) {
|
||||
|
||||
if #available(iOS 11.0, OSX 10.13, tvOSApplicationExtension 11.0, watchOSApplicationExtension 4.0, *) {
|
||||
|
||||
storeOptions[NSBinaryStoreInsecureDecodingCompatibilityOption] = true
|
||||
}
|
||||
return storeOptions
|
||||
|
||||
Reference in new issue
Block a user