First of all, I am far from an XCode guru and pretty much a newbie with it. The simplest thing have been bugging our team for quite sometime:
Whenever I had a new file to the project and select "Relative to Project" or "Relative to Enclosing Group" I will always get a semi-relative path. I get something in the line of:
../../../../../Trunk/ProjectName/Sources/MyFile.h
where as it should only be:
../../../Sources/MyFile.h
since the XCode project is in the directory:
/Dev/App/Trunk/ProjectName/Project/MAC/XCode/
This is causing us alot of headaches since not every developer as their "Trunk" and "Project" directory labeled the same and XCode will then show these items in red since it can find them and won't allow the project to compile.
There is no way to obtain the expected relative path, even when I change the "Path Type" in the file info directly. The only solution is to manually edit the .xcodeproj.
The project roots is set to : "Project File Directory"
Is there anything else I am missing? This is using XCode 3.2.