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

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

    Solution I found was not to copy and past the "$(BUILT_PRODUCTS_DIR)/../../Headers" to your target's Header Search Paths.

    After five hours I deleted the copy and pasted " and manually typed them in and it worked.

    0 讨论(0)
  • 2021-01-17 08:30

    Had this problem too. It would build and run just fine on simulator, but would not archive. Here's where I went wrong...

    I did this:

    #import "RestKit.h"
    

    Rather than the correct way:

    #import <RestKit/RestKit.h>
    
    0 讨论(0)
提交回复
热议问题