xcode中在哪里设置了$ PATH? [英] where is $PATH set in xcode?
本文介绍了xcode中在哪里设置了$ PATH?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
xcode的$ PATH环境设置似乎与我的用户外壳程序环境不同.
It looks like xcode's $PATH environment setting is different from my user shell environment.
xcode从何处获取$ PATH设置?追加到搜索路径的最佳方法是什么?
Where does xcode get the $PATH setting from and what's the best way to append to the search path?
推荐答案
如果您正在编写运行Shell脚本"构建阶段,则可以执行以下操作:
if you're writing a Run Shell Script build phase, you can just do:
PATH=${PATH}:/opt/local/bin
或脚本内容中的任何内容.
or whatever inside the script content.
这篇关于xcode中在哪里设置了$ PATH?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文