The same thing is happening to me, migrating at iOS 12 was right at real device and Simulator but at iOS 13 fail with the next log result:SQLite error code:1, 'duplicate column name: ZNAME_OF_THE_COLUMN .... Error Domain = NSCocoaErrorDomain Code = 134110 An error occurred during persistent storage migration.I check the xxxx.sqlite database file in the emulator path before and after the migration and there were no columns with those new same names. To know the route of the *.sqlite in the emulator you have to put a breakpoint and when it is stopped put in the console po NSHomeDirectory(). Then go to Finder window, tap the keys Control + Command + G and paste the route. Yo can handle it (for example) with DB Browser for SQLite program, it´s free.After a long search I have seen what has happened to some people but I have not seen any solution.Mine was:Select the actual *.xcdatamodel.Select Editor > Add Model Version.Provide a version name based on the previous model (like XxxxxxV2.xcdatamodel).Click
Topic:
App & System Services
SubTopic:
iCloud & Data
Tags: