问题
I get a Boost circular buffer file not found
issue when trying to profile my C++ code in Xcode 7.1 but no such error when running the code normally.
Do I need to pass some parameters to the Profile section in Edit Scheme
?
EDIT:
I should add that in the same project #include <boost/lexical_cast.hpp>
doesn't give an error!
回答1:
It seems Instruments
always uses the latest SDK, even when the main project doesn't.
I solved the issue by including boost framework
in the proper place within latest SDK.
来源:https://stackoverflow.com/questions/33505170/compiler-error-regarding-boost-file-only-when-trying-to-use-instruments-in-xcode