Add in Header Search Pathes
parent of mass-folder.
How do I make Xcode accept paths in #include statements?
-
29-09-2022 - |
문제
In one file in Xcode, I'm writing:
#include "mass/gravity_tool.h"
And it keeps complaining that the file can't be found. However, if I change it to just:
#include "gravity_tool.h"
It finds it fine.
The .h file is indeed within a "mass" folder I dragged into Xcode.
I can't just change it to remove the path because this is used throughout dozens of files. Is there a way to get it to accept it as is?
해결책
제휴하지 않습니다 StackOverflow