嗨,我发现这篇非常有用的帖子他描述了如何实现扫描构建一个比 xcode 附带的更好的分析工具。
这些是入门说明:
1. Download scan-build
2. Just unpack it into any directory and add that directory to your PATH
3. Open a Terminal and cd to your project’s root directory
4. Run scan-build and view results
但我不明白第二点“将该目录添加到您的路径”是什么意思,我该怎么做?
感谢你的帮助