RestKit build error: ../NSManagedObject+ActiveRecord.h:19: error: cannot find interface declaration for 'NSManagedObject'
I've linked RestKit in an xcode 4 project, as described on the GitHub install page and am getting this error while trying to build. Does anyone know what is going on? I've asked on the RestKit IRC channel as well, and am waiting for an answer.
The error details are:
/Users/shyam/Library/Developer/Xcode/DerivedData/APXClient-bkpszicuinqyocawpsueiuiysrsk/Build/Products/Debug-iphoneos/include/RestKit/CoreData/NSManagedObject+ActiveRecord.h:19: error: cannot find interface declaration for 'NSManagedObject'
The install steps I followed are here: https://github.com/RestKit/RestKit/blob/master开发者_Go百科/README.md
So, yes the solution is to make the header includes non-recursive. See details above
精彩评论