3

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/README.md

Shyam Habarakada
  • 15,367
  • 3
  • 36
  • 47
  • 3
    After talking with blake on the RestKit IRC channel, this appeared to be an issue with recursive header include directories. In my case, I had `$(BUILT_PRODUCTS_DIR)/**` (recursive) in my header include paths. Making that non-recursive solved the problem. – Shyam Habarakada Aug 23 '11 at 17:26
  • 1
    I also ran into this issue and resolved it by making the Header Search Path non-recursive. You should answer your own question :-) – penfold Nov 08 '11 at 11:04
  • done. thanks for confirming that recursive includes was actually the issue. – Shyam Habarakada Mar 07 '12 at 23:36

1 Answers1

0

So, yes the solution is to make the header includes non-recursive. See details above

Shyam Habarakada
  • 15,367
  • 3
  • 36
  • 47