I was handed my first iOS project, and I inherited this piece of code that uses the RestKit Library.
I hit tonnes of nasty compilation error below:
Nested redefinition of enum RKRequestMethod
The problem for me was because the RestKit.h header file and CoreData.h header file was both included such as below and I read somewhere that you only needed to include RestKit.h.
//#import <RestKit/CoreData/CoreData.h> This commented out