cocos2dx Undefined symbols for architecture x86_64

今天有一个游戏出现以下问题:
Undefined symbols for architecture x86_64:
“cocos2d::CCDictionary::objectForKey(std::__1::basic_string<char, std::__1::char_traits, std::__1::allocator > const&)”, referenced from:
cocos2d::extension::CCArmature::addBone(cocos2d::extension::CCBone*, char const*) in CCArmature.o
cocos2d::extension::CCArmature::getBone(char const*) const in CCArmature.o
cocos2d::extension::CCArmature::changeBoneParent(cocos2d::extension::CCBone*, char const*) in CCArmature.o
cocos2d::extension::CCArmatureData::getBoneData(char const*) in CCDatas.o
cocos2d::extension::CCMovementData::getMovementBoneData(char const*) in CCDatas.o
cocos2d::extension::CCAnimationData::getMovement(char const*) in CCDatas.o
cocos2d::extension::CCArmatureDataManager::getArmatureData(char const*) in CCArmatureDataManager.o

“cocos2d::CCDictionary::removeObjectForKey(std::__1::basic_string<char, std::__1::char_traits, std::__1::allocator > const&)”, referenced from:
cocos2d::extension::CCArmature::removeBone(cocos2d::extension::CCBone*, bool) in CCArmature.o
cocos2d::extension::CCArmatureDataManager::removeArmatureData(char const*) in CCArmatureDataManager.o
cocos2d::extension::CCArmatureDataManager::removeAnimationData(char const*) in CCArmatureDataManager.o
cocos2d::extension::CCArmatureDataManager::removeTextureData(char const*) in CCArmatureDataManager.o
cocostudio::timeline::ActionTimelineCache::removeAction(std::__1::basic_string<char, std::__1::char_traits, std::__1::allocator > const&) in CCActionTimelineCache.o
“cocos2d::CCDictionary::setObject(cocos2d::CCObject*, std::__1::basic_string<char, std::__1::char_traits, std::__1::allocator > const&)”, referenced from:
cocos2d::extension::CCArmature::addBone(cocos2d::extension::CCBone*, char const*) in CCArmature.o
cocos2d::extension::CCArmatureData::addBoneData(cocos2d::extension::CCBoneData*) in CCDatas.o
cocos2d::extension::CCMovementData::addMovementBoneData(cocos2d::extension::CCMovementBoneData*) in CCDatas.o
cocos2d::extension::CCAnimationData::addMovement(cocos2d::extension::CCMovementData*) in CCDatas.o
cocos2d::extension::CCArmatureDataManager::addArmatureData(char const*, cocos2d::extension::CCArmatureData*, char const*) in CCArmatureDataManager.o
cocos2d::extension::CCArmatureDataManager::addAnimationData(char const*, cocos2d::extension::CCAnimationData*, char const*) in CCArmatureDataManager.o
cocos2d::extension::CCArmatureDataManager::addTextureData(char const*, cocos2d::extension::CCTextureData*, char const*) in CCArmatureDataManager.o

“cocos2d::CCUserDefault::setStringForKey(char const*, std::__1::basic_string<char, std::__1::char_traits, std::__1::allocator > const&)”, referenced from:
ConfigData::savePromptStatus(std::__1::basic_string<char, std::__1::char_traits, std::__1::allocator >) in ConfigData.o
ConfigData::setAllTips() in ConfigData.o
ConfigData::setConfigBuffer(std::__1::basic_string<char, std::__1::char_traits, std::__1::allocator >, std::__1::basic_string<char, std::__1::char_traits, std::__1::allocator >) in ConfigData.o
CLoginLayer::onClickLoginButton(cocos2d::CCObject*, cocos2d::ui::TouchEventType) in CLoginLayer.o
CLoginLayer::onClickSubmitButton(cocos2d::CCObject*, cocos2d::ui::TouchEventType) in CLoginLayer.o
AppDelegate::applicationDidFinishLaunching() in AppDelegate.o
cocos2d::extension::AssetsManager::deleteVersion() in AssetsManager.o

“cocos2d::CCString::create(std::__1::basic_string<char, std::__1::char_traits, std::__1::allocator > const&)”, referenced from:
cocos2d::extension::CCComAttribute::setCString(char const*, char const*) in CCComAttribute.o
split(char const*, char const*) in CMainLayer.o
CHttpClient::onHttpRequestCompleted(cocos2d::extension::CCHttpClient*, cocos2d::extension::CCHttpResponse*) in CHttpClient.o
cocos2d::extension::CCBAnimationManager::addDocumentCallbackName(std::__1::basic_string<char, std::__1::char_traits, std::__1::allocator >) in CCBAnimationManager.o
cocos2d::extension::CCBAnimationManager::addDocumentOutletName(std::__1::basic_string<char, std::__1::char_traits, std::__1::allocator >) in CCBAnimationManager.o
cocos2d::extension::CCBReader::readCallbackKeyframesForSeq(cocos2d::extension::CCBSequence*) in CCBReader.o
cocos2d::extension::CCBReader::readSoundKeyframesForSeq(cocos2d::extension::CCBSequence*) in CCBReader.o

“cocos2d::CCString::CCString(std::__1::basic_string<char, std::__1::char_traits, std::__1::allocator > const&)”, referenced from:
CNewsHeadlineNewsLayer::__showCityNewsView() in CNewsHeadlineNewsLayer.o
CNewsTodayTrendsLayer::initeTrendsList() in CNewsTodayTrendsLayer.o
“non-virtual thunk to cocos2d::CCTextFieldTTF::attachWithIME()”, referenced from:
vtable for cocos2d::ui::UICCTextField in UITextField.o
“non-virtual thunk to cocos2d::CCTextFieldTTF::detachWithIME()”, referenced from:
vtable for cocos2d::ui::UICCTextField in UITextField.o
“non-virtual thunk to cocos2d::CCTextFieldTTF::getContentText()”, referenced from:
vtable for cocos2d::ui::UICCTextField in UITextField.o
“non-virtual thunk to cocos2d::CCTextFieldTTF::canAttachWithIME()”, referenced from:
vtable for cocos2d::ui::UICCTextField in UITextField.o
“non-virtual thunk to cocos2d::CCTextFieldTTF::canDetachWithIME()”, referenced from:
vtable for cocos2d::ui::UICCTextField in UITextField.o
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)

求各位大神帮忙看看是什么问题啊。谢谢各位了。

大神 你解决了么

帮顶,同样遇到这类问题,无从下手

帮顶,lz解决了吗

我也来手动帮顶一下,我也遇到这个问题了,lz解决了么:10:

这个一般是编辑器的原因,具体你可以参考这条链接http://my.oschina.net/ioslighter/blog/363211?fromerr=vcwQiVOs