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

前端 未结 14 1952
暗喜
暗喜 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

    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 
    

提交回复
热议问题