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

前端 未结 14 2141
暗喜
暗喜 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:19

    I found that I need to manually build the RestKit target for the header files to be copied into the build directory. Apparently the master project build does not reliably run the subproject build?

    So, my steps for fixing this issue:

    • Select the RestKit run target
    • Build
    • Make sure the header search path was set on all target (apparently on project itself is not enough)
    • Build main project

提交回复
热议问题