CCConsole.h #include<thread> Thread file not found in Xcode

When i try to build my game in xcode it gives me the error

In file CCConsole.h

Lexical or Preprocessor issue ‘thread’ file not found

are you missing the C++11 compiler flag for c++ Language Dialect and c++ Standard Library?

1 Like

Where I can see this . I don’t know it

It is in your build settings for the target you are building and they are called exactly what I stated above. Scroll towards the bottom.

1 Like

Thanks , But i rebuild the cocos project and then build its works fine now