我得到了这个。即使我可以看到可能是哪里。
我无法修复它。我几乎不需要帮助克服这个驼峰。我尝试过,重做一切,仍然跑进了这一点,有任何帮助吗?

**CoreData: warning: no NSValueTransformer with class name 'ImageTransformer'被发现了属性'image' on entity 'ImageAttachment'**

**2020-05-26 18:30:50.240603-0500 UnCloudNotes[4250:11852422] [error] error: -addPersistentStoreWithType:SQLite configuration:(null) URL:file:///Users/achoudhary/Library/Developer/CoreSimulator/Devices/AD161A8F-E227-4828-BD4B-FFCA8DAE84F6/data/Containers/Data/Application/69C4DB1C-D437-4DC9-BC54-9BCB31BF8F01/Library/Application%20Support/UnCloudNotesDataModel.sqlite options:{**

**NSInferMappingModelAutomaticallyOption = 0;**

**NSMigratePersistentStoresAutomaticallyOption = 1;**

**} ... returned error NSCocoaErrorDomain(134110) with userInfo dictionary {**

**NSUnderlyingException = "Couldn't create mapping policy for class named (AttachmentToImageMigrationPolicyV3toV4)";**

**}**

**CoreData: error: -addPersistentStoreWithType:SQLite configuration:(null) URL:file:///Users/achoudhary/Library/Developer/CoreSimulator/Devices/AD161A8F-E227-4828-BD4B-FFCA8DAE84F6/data/Containers/Data/Application/69C4DB1C-D437-4DC9-BC54-9BCB31BF8F01/Library/Application%20Support/UnCloudNotesDataModel.sqlite options:{**

**NSInferMappingModelAutomaticallyOption = 0;**

**NSMigratePersistentStoresAutomaticallyOption = 1;**

**} ... returned error NSCocoaErrorDomain(134110) with userInfo dictionary {**

**NSUnderlyingException = "Couldn't create mapping policy for class named (AttachmentToImageMigrationPolicyV3toV4)";**

**}**

**CoreData: annotation: <NSPersistentStoreCoordinator: 0x600000844d00>: Attempting recovery from error encountered during addPersistentStore: Error Domain=NSCocoaErrorDomain Code=134110 "An error occurred during persistent store migration." UserInfo={NSUnderlyingException=Couldn't create mapping policy for class named (AttachmentToImageMigrationPolicyV3toV4)}**

**Fatal error: Unresolved error Error Domain=NSCocoaErrorDomain Code=134110 "An error occurred during persistent store migration." UserInfo={NSUnderlyingException=Couldn't create mapping policy for class named (AttachmentToImageMigrationPolicyV3toV4)}: file /Users/achoudhary/Documents/edu.self/RW/Core_Data_by_Tutorials_v6.0.0/06-versioning-and-migration/starter/UnCloudNotes/CoreDataStack.swift, line 81**

**2020-05-26 18:30:50.244532-0500 UnCloudNotes[4250:11852422] Fatal error: Unresolved error Error Domain=NSCocoaErrorDomain Code=134110 "An error occurred during persistent store migration." UserInfo={NSUnderlyingException=Couldn't create mapping policy for class named (AttachmentToImageMigrationPolicyV3toV4)}: file /Users/achoudhary/Documents/edu.self/RW/Core_Data_by_Tutorials_v6.0.0/06-versioning-and-migration/starter/UnCloudNotes/CoreDataStack.swift, line 81**

@ Alokc83. 请查看该书的更新版本:

//store.ohdvia.icu/products/core-data-by-tutorials

我希望它有所帮助!

这一主题在166天后自动关闭。不再允许新的回复。