I’m currently working on a game using cocos2d-x 3.7.1. The problem I’m having is that I can only build the project if I select a real device (my iPhone 6). If I select any simulator device then I get this compile error:
CCDirector.h
Lexical or Preprocessor issue
‘stack’ file not found
I have tried reinstalling Xcode 6.4 but the problem persists. Any help will be really appreciated.
Glad it worked. Creating a new project will fix the problem temporarily because as soon as you debug your game in a different simulator or your actual device the problem will appear again.