iphonecompiler-errorssharekitfile-not-found

iPhone - ShareKit , SHK.m giving the compiler error for FileNot Found


I am facing the issue while compiling my iphone project with ShareKit Integrated .I was working on that , everything was working fine till now , all of a sudden now its giving me the error. In SHK.m file ,

  #import </usr/include/objc/objc-class.h>  file not found

I guess I have accidentally changed something or deleted any file . Not getting what has happened wrong. Can anybody help me with this issue ??

Note : ( I have not changed my Xcode , nor the project location or anything )


Solution

  • The problem is with the line

        #import </usr/include/objc/objc-class.h> 
    

    It has to be

            #import <objc/message.h> 
            #import <objc/runtime.h>