仅在 Xcode 7.1 中尝试使用 Instruments 时出现有关 Boost 文件的编译器错误

Compiler error regarding Boost file ONLY when trying to use Instruments in Xcode 7.1

我在 Xcode 7.1 中尝试分析我的 C++ 代码时遇到 Boost circular buffer file not found 问题,但当 运行 代码正常时没有这样的错误。

我是否需要将一些参数传递给 Edit Scheme 中的配置文件部分?

编辑:

我应该在同一个项目中添加 #include <boost/lexical_cast.hpp> 没有给出错误!

似乎Instruments总是使用最新的SDK,即使主项目没有。

我通过在最新 SDK 中的适当位置包含 boost framework 解决了这个问题。