You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Dec 19, 2019. It is now read-only.
SQKModelMigrator.m generates a new SQLIte file then moves this into the place of the previous file. Since iOS7, moving just the SQLite file is not enough, since there are new index/transaction files stored alongside it. iOS will attempt to use these old metafiles with the new SQLite file. This means if the migrator runs, the SQLite file that it generates cannot be opened by iOS and it believes it to be corrupted.
I believe the solution would be to also delete the other files (-WAL, -SHM). As this project is archived, this will not be fixed. If you still need to use it, then just pass nil as the argument for orderedManagedObjectModelNames. You will lose the migration behaviour, but it is broken anyway.