我已经尝试为我自己的应用程序修改 Apple SharedCoreData 示例。
一切都(合理地)没问题,除了这个警告:
[NSPersistentStoreCoordinator addPersistentStoreWithType:configuration:URL:options:error:](1055): CoreData: Ubiquity:
Error: A persistent store which has been previously added to a coordinator using the iCloud integration options must always be
added to the coordinator with the options present in the options dictionary.
If you wish to use the store without iCloud, migrate the data from the iCloud store file to a new store file in local storage.
file://localhost/Users/david/Library/Containers/.../Data/Documents/SharedCoreDataStores/localStore.sqlite
This will be a fatal error in a future release.
有没有人遇到过这个问题,我该如何解决?