ios - #import <xx/xx.h> file not found
本文介绍了ios - #import <xx/xx.h> file not found的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
问 题
同一份代码,在同事的代码上可以正常编译,到我mac上面就成了有些文件file not found,看了路径设置的地方,
framework search paths,header search paths,library search paths,写的路径是相对路径不是绝对路径,
framework search paths
$(inherited) -- non recursive
$(SRCROOT) -- non recursive
header search paths
./include -- recursive
. -- recursive
./(SRCROOT)/xx/xx/xx/ -- recursive
library search paths
$(inherited) -- non recursive
$(SRCROOT) -- recursive
有大神帮忙看看,上面设置的地方是不是有什么没设置上去的,或者设置错误的。
解决方案
看看是否是同事的代码文件并没有 copy 到项目中。
这篇关于ios - #import <xx/xx.h> file not found的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文