同一份代码,在同事的代码上可以正常编译,到我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
有大神帮忙看看,上面设置的地方是不是有什么没设置上去的,或者设置错误的。
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.