iOS Core Data + iCloud error for addPersistentStoreWithType: You don’t have permission to save the file “store” in the folder

时光怂恿深爱的人放手 提交于 2019-12-03 21:46:15

Rebuilding from iCloud

To remove local data and start fresh with the existing records in iCloud, pass the NSPersistentStoreRebuildFromUbiquitousContentOption option with a value of @YES when you add your iCloud-enabled persistent store to the persistent store coordinator. Include any iCloud options you usually include.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!