例如:xxxxxx'MAMapKit/MAMapKit.h' file not found
我们平时添加三方framework一般会这么设置。
小伙伴们,如果你遇到了上面说的错就看一下下面这张图是否做了同样的设置。
目前我遇到的是这么解决了,如果解决不了你的问题,我表示抱歉。
lexical or preprocessor issue 'mamapkit/mamapkit.h' file notfound
续,今天换SVN地址,重新打压缩包放服务器,又出现了这个问题。按我上面说的怎么都不行,搜到了相关的内容有
I got an error in XCode 4 Issue Navigator,but in LogNavigator there is no error.After restart XCode,the error waserase.
//************************************************************************************
I had the sameproblem in XCode 4: "Lexical or preprocessor issue MyFile.h notfound". However, MyFile.m was not a static library, just astandardclass. And MyFile.m and MyFile.h were included properly and indexedin the project.
So ... I quitXCode and the Simulator, then restarted them and the problemdisappeared.
作者“沙地”
翻译的结果就是重启就能解决了,靠,什么玩意儿,重启xcodeiphonesimulator,整半天还出现还是那个熊样子,后来仔细一看,我相信你也能看到来问题。
看不出来我当你不是个仔细合格的程序员。赶项目就到这里啦~