Hi everyone,
I am using Xcode 7.0 and target building is iOS 9.0, I have this problem
I think it is setting issue and I google it but seem to no answers.
"GameScene::onContactBegin(cocos2d::PhysicsContact&)", referenced from:
GameScene::init() in GameScene.o
ld: symbol(s) not found for architecture i386
clang: error: linker command failed with exit code 1 (use -v to see invocation)
Here is my source
bool onContactBegin(cocos2d::PhysicsContact& contact );
auto contactListener = EventListenerPhysicsContact::create( );
contactListener -> onContactBegin = CC_CALLBACK_1( GameScene::onContactBegin, this );
Director::getInstance( )->getEventDispatcher( )->addEventListenerWithSceneGraphPriority( contactListener, this );
Full code at here
Thanks.