加入收藏 | 设为首页 | 会员中心 | 我要投稿 李大同 (https://www.lidatong.com.cn/)- 科技、建站、经验、云计算、5G、大数据,站长网!
当前位置: 首页 > 百科 > 正文

如何在Xcode中设置$(SRCROOT)的父路径

发布时间:2020-12-14 18:02:58 所属栏目:百科 来源:网络整理
导读:从 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).
从 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

(编辑:李大同)

【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容!

    推荐文章
      热点阅读