Skip to content
This repository was archived by the owner on Feb 8, 2023. It is now read-only.

Commit 860289d

Browse files
committed
Run converter
1 parent 6a00dd9 commit 860289d

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

CoreDataKit.xcodeproj/project.pbxproj

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -305,9 +305,11 @@
305305
TargetAttributes = {
306306
D5D7C6BB1958B8CF0048B576 = {
307307
CreatedOnToolsVersion = 6.0;
308+
LastSwiftMigration = 0800;
308309
};
309310
D5D7C6C61958B8CF0048B576 = {
310311
CreatedOnToolsVersion = 6.0;
312+
LastSwiftMigration = 0800;
311313
TestTargetID = D5D7C6BB1958B8CF0048B576;
312314
};
313315
};
@@ -516,6 +518,7 @@
516518
PRODUCT_NAME = "$(TARGET_NAME)";
517519
SKIP_INSTALL = YES;
518520
SWIFT_OPTIMIZATION_LEVEL = "-Onone";
521+
SWIFT_VERSION = 2.3;
519522
};
520523
name = Debug;
521524
};
@@ -534,6 +537,7 @@
534537
PRODUCT_BUNDLE_IDENTIFIER = "nl.mathijskadijk.${PRODUCT_NAME:rfc1034identifier}";
535538
PRODUCT_NAME = "$(TARGET_NAME)";
536539
SKIP_INSTALL = YES;
540+
SWIFT_VERSION = 2.3;
537541
};
538542
name = Release;
539543
};
@@ -553,6 +557,7 @@
553557
METAL_ENABLE_DEBUG_INFO = YES;
554558
PRODUCT_BUNDLE_IDENTIFIER = "nl.mathijskadijk.${PRODUCT_NAME:rfc1034identifier}";
555559
PRODUCT_NAME = "$(TARGET_NAME)";
560+
SWIFT_VERSION = 2.3;
556561
};
557562
name = Debug;
558563
};
@@ -568,6 +573,7 @@
568573
METAL_ENABLE_DEBUG_INFO = NO;
569574
PRODUCT_BUNDLE_IDENTIFIER = "nl.mathijskadijk.${PRODUCT_NAME:rfc1034identifier}";
570575
PRODUCT_NAME = "$(TARGET_NAME)";
576+
SWIFT_VERSION = 2.3;
571577
};
572578
name = Release;
573579
};

CoreDataKit/NSPersistentStoreCoordinator.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ extension NSPersistentStoreCoordinator
9696
if (deleteOnMismatch && NSCocoaErrorDomain == error.domain && (NSPersistentStoreIncompatibleVersionHashError == error.code || NSMigrationMissingSourceModelError == error.code)) {
9797

9898
CDK.sharedLogger(.WARN, "Model mismatch, removing persistent store...")
99-
let urlString = URL.absoluteString
99+
let urlString = URL.absoluteString!
100100
let shmFile = urlString.stringByAppendingString("-shm")
101101
let walFile = urlString.stringByAppendingString("-wal")
102102

0 commit comments

Comments
 (0)