mirror of
https://github.com/JohnEstropia/CoreStore.git
synced 2026-11-15 13:22:12 +01:00
Fix for build on iOS with Swift Package Manager
This commit is contained in:
1 parent
0345ee9c94
commit
6d75dcbc32
3 files changed
+3
-3
No files matched your search
@@ -451,7 +451,7 @@ public final class CoreStoreSchema: DynamicSchema {
|
||||
}
|
||||
for (entity, entityDescription) in entityDescriptionsByEntity {
|
||||
|
||||
if #available(macOS 10.11, *) {
|
||||
if #available(macOS 10.11, iOS 9.0, *) {
|
||||
|
||||
let uniqueConstraints = entity.uniqueConstraints.filter({ !$0.isEmpty })
|
||||
if !uniqueConstraints.isEmpty {
|
||||
|
||||
Reference in new issue
Block a user