Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Core data records lsot after app update #1375

Open
Nisha-SpaceoTech opened this issue Dec 9, 2019 · 2 comments
Open

Core data records lsot after app update #1375

Nisha-SpaceoTech opened this issue Dec 9, 2019 · 2 comments

Comments

@Nisha-SpaceoTech
Copy link

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
Copy link

expkzb commented Dec 19, 2019

Can you post core data initialization code here?

@Gensun
Copy link

Gensun commented Mar 16, 2020

Under the ios 13 later, you need to use NSPersistentCloudKitContainer

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants