问个cocos2dx在xcode中问题

我最近才把cocos2d在mac上部署上,使用命令cocos new -p com.example -l cpp -d /Users/xxx/cocos demo生成了程序

然后用xcode运行项目都正常,这时候我准备写代码,新建了一个类,#include "cocos2d.h"时候点command+鼠标左键出现 symbol not found

可是已存在的类文件中我点里面的#include "cocos2d.h"就直接跳转到cocos2d源码中了

我清除了项目derived data再重启xcode问题依旧,求各位帮忙下我刚进cocos2d的菜鸟,先谢了