Error including custom global header files in xcode 12.5

I have been importing a custom cpp header file placed in the following folder until 12.4:

/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1

In 12.5, I noticed that Xcode now throws an error saying that it can't find the header file placed in the above directory though it comes up as part of the auto-complete. I am wondering if there has been any changes around placing custom header files for global imports/if there might be any setting worth looking into?


Answered by junostardust in 673222022
Played around this a bit and looks like just placing it 2 levels up - under usr/include does the job. Should be good to resolve, thanks!
Accepted Answer
Played around this a bit and looks like just placing it 2 levels up - under usr/include does the job. Should be good to resolve, thanks!
Error including custom global header files in xcode 12.5
 
 
Q