cocos2dx mac 项目编译问题

Undefined symbols for architecture x86_64:
“HelloWorld::createScene()”, referenced from:
AppDelegate::applicationDidFinishLaunching() in AppDelegate.o
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)

为什么呢

IOS 项目编译是可以的

切换到MAC就不行

3.2版本