I am losing my hair in my attempts to get RestKit to build and work. I get the dreaded \"Lexical or Preprocessor issue: RestKit/RestKit.h file not found\" message. I use Xc
My solution:
When adding "$(BUILT_PRODUCTS_DIR)/../../Headers"
to
Targets -> Build Settings -> Search Paths -> Header Search paths,
the value was not set.
Instead the value has have been set up to User Header Search Paths. So you double click to Header Search Paths, some pane with lines appear, you click + down left, paste that string there, click somewhere else to dismiss the window and... nothing. The Header Search Paths didnt get updated but User Header Search Path did.
?!!!
So you click on the disclosure button on Header Search Paths. Click + sign right of the attribute and add the value...