开发者

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

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

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜