从
http://developer.apple.com/library/mac/#documentation/DeveloperTools/Reference/XcodeBuildSettingRef/1-Build_Setting_Reference/build_setting_ref.html%23//apple_ref/doc/uid/TP40003931-CH3-SW38开始,我们可以找到Xcode的构建设置,如$(SRCROOT).但在我的情况下,头文件位于$(SRCROOT)的父文件夹中.有没有办法在不放入绝对路径的情况下访问它?
谢谢!
解决方法
序列..指的是几乎所有操作系统中的父目录.
$(SRCROOT)/../OtherPath