I use cocos2d-x v3.8 with xcode 7.0
After create a new project “test” in the folder /Documents/cocos2d-x-3.8_project/ with command:
“cocos new test -p com.mycom.test -l cpp -d ~/Documents/cocos2d-x-3.8_project --portrait”
I can build and run successful on iphone
But if either MOVE or COPY the project to another folder (ex: Desktop or any where).
I got the error - “stack” file not found - at the line #include < stack > in CCDirector.h
And althought I COPY or MOVE back to the previous folder when creating (ex…/Documents/cocos2d-x-3.8_project) - I still got the error “stack” file not found ???
I can not do any thing to fix except create the new Project and copy class files to that new one…and CAN NOT COPY or MOVE the project any where else… and CAN NOT FIX IT BY copy back…