开发者

RestKit build error: ../NSManagedObject+ActiveRecord.h:19: error: cannot find interface declaration for 'NSManagedObject'

开发者 https://www.devze.com 2023-03-30 07:44 出处:网络
I\'ve linked RestKit in an xcode 4 project, as described on the GitHub install page and am getting this error while trying to build. Does anyone know what is going on? I\'ve asked on the RestKit IRC c

I've linked RestKit in an xcode 4 project, as described on the GitHub install page and am getting this error while trying to build. Does anyone know what is going on? I've asked on the RestKit IRC channel as well, and am waiting for an answer.

The error details are:

/Users/shyam/Library/Developer/Xcode/DerivedData/APXClient-bkpszicuinqyocawpsueiuiysrsk/Build/Products/Debug-iphoneos/include/RestKit/CoreData/NSManagedObject+ActiveRecord.h:19: error: cannot find interface declaration for 'NSManagedObject'

The install steps I followed are here: https://github.com/RestKit/RestKit/blob/master开发者_Go百科/README.md


So, yes the solution is to make the header includes non-recursive. See details above

0

精彩评论

暂无评论...
验证码 换一张
取 消