求大家帮忙看一下,xcode9.0升级后,cocos2dx项目编译有问题

dajing123 2017-09-30 11:17:18
这两天升级了xcode9.0之后,原来xcode8.3.3可以编译成功的cocos2dx项目,现在出现apple mach-o linker(ld) Error,如下:
Undefined symbols for architecture arm64:
"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
"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
"_stopMediaAnimation", referenced from:
-[AudioRecorder audioPlayerDidFinishPlaying:successfully:] in AudioRecorder.o
"cocos2d::CCDictionary::removeObjectForKey(std::string 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
"_sendDeviceTokenToServer", referenced from:
+[WXOcToCInterface sendDeviceTokenToServer:] in WXOcToCInterface.o
"AppDelegate::AppDelegate()", referenced from:
。。。。。。。。

我的项目设置为:ios deployment target:6.0
base SDK:ios 11.0

请大家能帮帮忙,请教一下,怎么解决呢?网上也差了很多办法,都行不通,哎
...全文
1259 2 打赏 收藏 转发到动态 举报
写回复
用AI写文章
2 条回复
切换为时间正序
请发表友善的回复…
发表回复
qq321123000 2017-10-13
  • 打赏
  • 举报
回复
厉害了。。。。。
dajing123 2017-10-11
  • 打赏
  • 举报
回复 1
已经解决了,xcode9.0有个坑爹的地方,一定要注意!!!请参考:http://blog.csdn.net/thoris/article/details/78139274

721

社区成员

发帖
与我相关
我的任务
社区描述
Cocos2d-x相关内容讨论专区
社区管理员
  • Cocos2d-x
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧