ios - #import <xx/xx.h> file not found
高洛峰
高洛峰 2017-04-18 09:37:13
0
2
843

同一份代码,在同事的代码上可以正常编译,到我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

有大神帮忙看看,上面设置的地方是不是有什么没设置上去的,或者设置错误的。

高洛峰
高洛峰

拥有18年软件开发和IT教学经验。曾任多家上市公司技术总监、架构师、项目经理、高级软件工程师等职务。 网络人气名人讲师,...

reply all(2)
阿神

Check to see if your colleague’s code file has not been copied to the project.

左手右手慢动作

Re-add the folder where the missing files are located to the project. When adding files, you need to check the first and second options. Do not use dragging to add files, because if you use dragging to drag files to the project This will cause this problem to persist unless you are lucky enough to add the relevant path to the project.

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template