magicalpanda/MagicalRecord

Core data records lsot after app update

Nisha-SpaceoTech opened this issue · 2 comments

I am using core data in my app and when I update an app my last saved records in core data are lost. I can see that my database paths change every time an app runs. Can anyone pls help to find the reason for data loss? I am running the code with XCode 11 and iOS 13.2.

Can you post core data initialization code here?

Under the ios 13 later, you need to use NSPersistentCloudKitContainer