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

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

    After spending 2 days on this same error and navigating to every possibile google result I finally got it!

    It's not due to Derived Data settings, those are fine already in XCode 4.3.2.

    The problem is that you are doing a #import "RKObjectMapping.h" or some other include.

    Instead use @class RKObjectMapping or if you really nead the .h use

    I went with @class since I just need to compile...

    Hope this help!

提交回复
热议问题