How do I use a relative path in Xcode project settings?
Solution 1:
All paths in Build Settings are assumed relative to the directory that contains the .xcodeproj file. Use the standard Unix path tokens
. project directory
.. parent directory
So if your project file is trunk/Mac/proj.xcodeproj, and your headers are in trunk/Headers/foo.h, you would add ../Headers to your Header Search Paths.
Solution 2:
Also there are two paths: $SRCROOT and $SDKROOT.