I’m really stuck on a Core Data error that I can’t seem to solve:
Can't migrate SQLite store: Error Domain=NSCocoaErrorDomain Code=134110 The operation couldn’t be completed. (Cocoa error 134110.) UserInfo=0xab4b630 {NSUnderlyingError=0xab4b2e0 The operation couldn’t be completed. (Cocoa error 516.), reason=Can't copy source store to destination store path
I can’t find any resources about this error…
Its a pretty simple migration, just one model “User” with name property and created_by property and for my test I didn’t change anything, both models are the same. I just want to get it working.
Any ideas?
This error was caused by me attempting to migrate data to a sql store that already existed. On top of that, I didn’t load the original store with the persistent coordinator first.
So lessons learned:
Hope this helps someone else out there.