MagicalRecord/MagicalRecordDeprecationMacros.h 文件未找到

MagicalRecord/MagicalRecordDeprecationMacros.h file not found

我下载了魔录大师。将 MagicalRecord 文件夹拖到我的项目中。导入 CoreData.framework 然后构建。显示错误"MagicalRecord/MagicalRecordDeprecationMacros.h file not found",请看图片

您似乎在 MagicalRecord 的 NSManagedObjectContext+MagicalRecord.h 头文件中。 These files are setup to work with your code and generally don't require any changes. I would recommend going over RayWenderlich's MagicalRecord教程。这是在 CoreData 中使用 MagicalRecord 的分步指南。