RestKit/RestKit.h file not found error - version 0.10.0

前端 未结 14 2093
暗喜
暗喜 2021-01-17 07:49

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

14条回答
  •  日久生厌
    2021-01-17 08:08

    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...

提交回复
热议问题