调度器scheduler问题

我刚接触cocos2d-x,使用的是XCODE6.1,按照cocos2d-x文档里的scheduler例子编写了一小段测试,但只用一编译就报如下错误:
Ld /Users/apple/Library/Developer/Xcode/DerivedData/mygames-dcpsbbqmkkghzhdrylpxswyskeak/Build/Products/Debug-iphonesimulator/mygames\ iOS.app/mygames\ iOS normal x86_64
cd /Users/apple/Documents/cocos2d-x-3.3/mygames/proj.ios_mac
export IPHONEOS_DEPLOYMENT_TARGET=5.0
export PATH="/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin:/Applications/Xcode.app/Contents/Developer/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin"
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang++ -arch x86_64 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator8.1.sdk -L/Users/apple/Library/Developer/Xcode/DerivedData/mygames-dcpsbbqmkkghzhdrylpxswyskeak/Build/Products/Debug-iphonesimulator -F/Users/apple/Library/Developer/Xcode/DerivedData/mygames-dcpsbbqmkkghzhdrylpxswyskeak/Build/Products/Debug-iphonesimulator -filelist /Users/apple/Library/Developer/Xcode/DerivedData/mygames-dcpsbbqmkkghzhdrylpxswyskeak/Build/Intermediates/mygames.build/Debug-iphonesimulator/mygames\ iOS.build/Objects-normal/x86_64/mygames\ iOS.LinkFileList -Xlinker -objc_abi_version -Xlinker 2 -stdlib=libc++ -Xlinker -no_implicit_dylibs -fobjc-link-runtime -mios-simulator-version-min=5.0 /Users/apple/Library/Developer/Xcode/DerivedData/mygames-dcpsbbqmkkghzhdrylpxswyskeak/Build/Products/Debug-iphonesimulator/libcocos2d\ iOS.a -framework CoreMotion -framework Foundation -framework UIKit -framework CoreGraphics -framework OpenGLES -lz -framework QuartzCore -framework OpenAL -framework AVFoundation -framework AudioToolbox -Xlinker -dependency_info -Xlinker /Users/apple/Library/Developer/Xcode/DerivedData/mygames-dcpsbbqmkkghzhdrylpxswyskeak/Build/Intermediates/mygames.build/Debug-iphonesimulator/mygames\ iOS.build/Objects-normal/x86_64/mygames\ iOS_dependency_info.dat -o /Users/apple/Library/Developer/Xcode/DerivedData/mygames-dcpsbbqmkkghzhdrylpxswyskeak/Build/Products/Debug-iphonesimulator/mygames\ iOS.app/mygames\ iOS

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

“HelloWorld::updateCustom(float)”, referenced from:
HelloWorld::init() in HelloWorldScene.o
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)

找了一晚上也没找到解决办法。。。。。请大神们帮帮我吧

直接贴代码。

HelloWorld::updateCustom(float)有没有正确的声明和定义。