本文介绍了iPhone - ShareKit,SHK.m给出FileNot Found的编译器错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我面对的问题,编译我的iphone项目与ShareKit集成。我的工作,一切都运作良好,直到现在,突然现在它给我的错误。在SHK.m文件中,

  #import< /usr/include/objc/objc-class.h>文件未找到

我猜我不小心改变了某些东西或删除了任何文件。没有得到发生了什么错。任何人都可以帮我解决这个问题?



注意:(我没有改变我的Xcode,项目位置或任何东西)



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

必须

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


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 )

解决方案

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>

这篇关于iPhone - ShareKit,SHK.m给出FileNot Found的编译器错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

08-15 11:59