File tree 1 file changed +15
-2
lines changed
1 file changed +15
-2
lines changed Original file line number Diff line number Diff line change @@ -37,11 +37,24 @@ extern NSString* const SSYPersistentDocumentMultiMigratorDidEndMigrationNotifica
37
37
#define SSYPersistentDocumentMultiMigratorErrorCodeUserCancelledUndisplayableRestore 315023
38
38
39
39
/* !
40
- @brief Class which provides a method automatically migrating
40
+ @brief DEPRECATED Class which provides a method automatically migrating
41
41
persistent stores in Core Data document-based apps over multiple
42
42
versions
43
43
44
- @details Although earlier versions of this class played with apps using
44
+ @details *** DEPRECATION NOTICE ***
45
+ SSYPersistentDocumentMultiMigrator is *** DEPRECATED *** because
46
+ I had some trouble using this class in May 2022. The trouble may be that
47
+ SSYPersistentDocumentMultiMigrator does not support modern SQLite stores with
48
+ write-ahead logging (-shm and -wal files). I'm not sure because instead of
49
+ troubleshooting it, I forked a modern example from another developer and
50
+ replaced SSYPersistentDocumentMultiMigrator in my projects with the Swift code
51
+ in this fork:
52
+
53
+ https://github.com/jerrykrinock/CoreDataProgressiveMigration
54
+
55
+ *** END OF DEPRECATION NOTICE ***
56
+
57
+ Although earlier versions of this class played with apps using
45
58
NSPersistentDocument, currently it requires that your app is using
46
59
the open-source BSManagedDocument and not NSPersistentDocument. There are
47
60
many good reasons to do this, as explained here:
You can’t perform that action at this time.
0 commit comments