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

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

    Mind you - its a total hack - but it got my project running.

    Assuming that you've already followed the installation steps from the RestKit Github https://github.com/RestKit/RestKit/blob/master/README.md#quick-start-aka-tldr

    In the RestKit target, goto Build Phases. Under the Copy Headers dropdown, move all of the header files from "Project" to "Public".

    Clean, Build, Run.

提交回复
热议问题