mirror of
https://github.com/JohnEstropia/CoreStore.git
synced 2026-03-22 09:29:18 +01:00
Fix for build on iOS with Swift Package Manager
This commit is contained in:
@@ -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