Search code examples
magicalrecordmagicalrecord-2.2magicalrecord-2.1

MagicalRecord/MagicalRecordDeprecationMacros.h file not found


I down load the Magical Record master. Drag the MagicalRecord folder to my project. Import CoreData.framework then build. Show the error "MagicalRecord/MagicalRecordDeprecationMacros.h file not found", Please see the images enter image description here

enter image description here


Solution

  • It looks as if you're inside MagicalRecord's NSManagedObjectContext+MagicalRecord.h header file. enter image description here These files are setup to work with your code and generally don't require any changes. I would recommend going over RayWenderlich's MagicalRecord tutorial. It's a step by step guide to working with MagicalRecord in CoreData.