Core data 未调用对象的AcquitainPermanentidsFor

Core data 未调用对象的AcquitainPermanentidsFor,core-data,nsincrementalstore,Core Data,Nsincrementalstore,我在实验NSIncrementalStore和文档时说:“首先,持久化存储协调器调用对象的获取永久性:错误:……然后,协调器调用executeRequest:withContext:error:” 在我的例子中,get-called方法不是,但executeRequest将使用NSSaveRequestType参数进行调用。有什么问题 我创建了一个NSManagedObject并调用了save方法。我试图向coordinator添加一个本地和远程存储,这导致阻止了方法调用。所以我只删除了第一行

我在实验NSIncrementalStore和文档时说:“首先,持久化存储协调器调用对象的获取永久性:错误:……然后,协调器调用executeRequest:withContext:error:”

在我的例子中,get-called方法不是,但executeRequest将使用NSSaveRequestType参数进行调用。有什么问题


我创建了一个NSManagedObject并调用了save方法。

我试图向coordinator添加一个本地和远程存储,这导致阻止了方法调用。所以我只删除了第一行

[_persistentStoreCoordinator addPersistentStoreWithType:NSSQLiteStoreType configuration:nil URL:storeURL options: @{NSSQLitePragmasOption : @{@"journal_mode" : @"DELETE"}} error:&error];
[_persistentStoreCoordinator addPersistentStoreWithType:@"CustomIncrementalStore" configuration:nil URL:nil options:nil error:&error];