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

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

    This is a problem that I don't think has enough answers for this problem, because if you have this problem it feels like there is nothing to be done! After trying all of the proposed solutions (none of them worked). I finally found the problem

    The problem was that one of my folders had a space in it. Don't use spaces in your source folder names!

    Used to be : (/Xcode projects/basicRestkit etc...)  -- lots of pain and suffering  
    changed to : (/projects/basicRestkit) -- lots of rejoicing
    

    This caused the header search paths not to work, and therefore not to find the files. There may very well be a way to use alter the header search paths to find your files even with spaces.

    This might not help you, but it very well could. Good luck.

提交回复
热议问题