Click on your Xcode project file (the one at the top of the file browser in Xcode), then click on the Build Settings tab. Scroll down to "Apple Clang - Language - C++". There is an option to change the language dialect - you can change the version of c++ used, as well as the libc++ used.