Xcode 中定义的 SYMROOT 或 DSTROOT 等变量在哪里?

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/11341158/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me): StackOverFlow

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-09-15 00:47:38  来源:igfitidea点击:

where are variables such as SYMROOT or DSTROOT defined in Xcode?

xcodevariablesbuild

提问by eugene

I'd like to change DSTROOT(or any other variables that Xcode use for build settings) to somewhere else but can't to locate where it's defined.

我想将 DSTROOT(或 Xcode 用于构建设置的任何其他变量)更改为其他位置,但无法找到它的定义位置。

I'm using Xcode 4.

我正在使用 Xcode 4。

采纳答案by trojanfoe

Looking at the Xcode Build Settings Reference, it looks like $DSTROOTis only affected by $PROJECT_NAMEand $SYMROOTis only affected by $SRCROOT, so I'm not sure you can easily change them at all.

查看Xcode Build Settings Reference,它看起来$DSTROOT只受$PROJECT_NAME并且$SYMROOT仅受 影响$SRCROOT,所以我不确定您是否可以轻松更改它们。