magicalpanda / MagicalRecord

Super Awesome Easy Fetching for Core Data!
Other
10.8k stars 1.79k forks source link

Core data records lsot after app update #1375

Open Nisha-SpaceoTech opened 4 years ago

Nisha-SpaceoTech commented 4 years ago

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.

expkzb commented 4 years ago

Can you post core data initialization code here?

Gensun commented 4 years ago

Under the ios 13 later, you need to use NSPersistentCloudKitContainer