To fix this issue you will need to change the compiler settings within Xcode. This is somewhat referenced in the setup tutorial
http://www.sfml-dev.org/tutorials/2.0/start-osx.php eXpl0it3r mentioned. The specific section is in the introduction section under the C++11 subsection. However I will admit it that the tutorial does not work out of the box as it seems Xcode sets the default C++ Standard Library to custom version Apple ships with Xcode. Let me know If I am wrong on this point.
Anyway, to the meat of the matter. To fix this issue please follow these steps:
1. Go to the Build Settings for you project
2. Go to the
Apple LLVM compiler 4.1 - Language section
3. You will see a
C++ Standard Library option. There will be three options here and you want to choose
Compiler DefaultI included a screenshot so you can see where this is incase you are unsure if you are on the proper screen. Let me know if this helps.
[attachment deleted by admin]