环信libEaseMobClientSDK.a(ioapi.o)与liblibPDRCore.a(ioapi.o)冲突

请问怎么解决
duplicate symbol _fopen_file_func in:

    /Users/xiaosong/Desktop/SVN_RMS-hx/HBuilder-Hello/rmsi/EaseMobSDK/lib/libEaseMobClientSDK.a(ioapi.o)

    /Users/xiaosong/Desktop/SVN_RMS-hx/SDK/Libs/Release-iphonesimulator/liblibPDRCore.a(ioapi.o)

duplicate symbol _fread_file_func in:

    /Users/xiaosong/Desktop/SVN_RMS-hx/HBuilder-Hello/rmsi/EaseMobSDK/lib/libEaseMobClientSDK.a(ioapi.o)

    /Users/xiaosong/Desktop/SVN_RMS-hx/SDK/Libs/Release-iphonesimulator/liblibPDRCore.a(ioapi.o)

duplicate symbol _fwrite_file_func in:

    /Users/xiaosong/Desktop/SVN_RMS-hx/HBuilder-Hello/rmsi/EaseMobSDK/lib/libEaseMobClientSDK.a(ioapi.o)

    /Users/xiaosong/Desktop/SVN_RMS-hx/SDK/Libs/Release-iphonesimulator/liblibPDRCore.a(ioapi.o)

duplicate symbol _ftell_file_func in:

    /Users/xiaosong/Desktop/SVN_RMS-hx/HBuilder-Hello/rmsi/EaseMobSDK/lib/libEaseMobClientSDK.a(ioapi.o)

    /Users/xiaosong/Desktop/SVN_RMS-hx/SDK/Libs/Release-iphonesimulator/liblibPDRCore.a(ioapi.o)

duplicate symbol _fseek_file_func in:

    /Users/xiaosong/Desktop/SVN_RMS-hx/HBuilder-Hello/rmsi/EaseMobSDK/lib/libEaseMobClientSDK.a(ioapi.o)

    /Users/xiaosong/Desktop/SVN_RMS-hx/SDK/Libs/Release-iphonesimulator/liblibPDRCore.a(ioapi.o)

duplicate symbol _fclose_file_func in:

    /Users/xiaosong/Desktop/SVN_RMS-hx/HBuilder-Hello/rmsi/EaseMobSDK/lib/libEaseMobClientSDK.a(ioapi.o)

    /Users/xiaosong/Desktop/SVN_RMS-hx/SDK/Libs/Release-iphonesimulator/liblibPDRCore.a(ioapi.o)

duplicate symbol _ferror_file_func in:

    /Users/xiaosong/Desktop/SVN_RMS-hx/HBuilder-Hello/rmsi/EaseMobSDK/lib/libEaseMobClientSDK.a(ioapi.o)

    /Users/xiaosong/Desktop/SVN_RMS-hx/SDK/Libs/Release-iphonesimulator/liblibPDRCore.a(ioapi.o)

duplicate symbol _unz_copyright in:

    /Users/xiaosong/Desktop/SVN_RMS-hx/HBuilder-Hello/rmsi/EaseMobSDK/lib/libEaseMobClientSDK.a(unzip.o)

    /Users/xiaosong/Desktop/SVN_RMS-hx/SDK/Libs/Release-iphonesimulator/liblibPDRCore.a(unzip.o)

ld: 8 duplicate symbols for architecture i386

clang: error: linker command failed with exit code 1 (use -v to see invocation)
共5个回复

lifei9241

2015-11-18 10:13

用到实时语音了么,没有的话  可以用force_load 加SDKLite那个库,如果用到实时语音,就需要把你项目中的删掉  或者拆包重命名一下了。

bqey

2015-11-18 10:18

实时语音是视频通话和语音通话那种吗,发语音消息算吗?

lifei9241

2015-11-18 10:23

@3990:发送语音消息 不算是实时语音。

bqey

2015-11-18 10:59

@108:像你说的那样换了,也加上force_load 加SDKLite,为什么还是报同样的问题呢?

lifei9241

2015-11-18 11:12

other linker flags  那里 贴一下截图

bqey

2015-11-18 11:17

截图贴在下面了,麻烦了。

bqey

2015-11-18 11:17

截图:

lifei9241

2015-11-18 11:19

把-ObjC去掉。

bqey

2015-11-18 11:25

还是一样的问题呢

bqey

2015-11-18 11:30

只是变成了和sdkLite的冲突,冲突的内容还是一样的。

冷雨59988

2016-02-22 08:50

请问这个问题现在解决了吗?

冷雨59988

2016-02-21 19:18

我也遇到了同样的问题,这个如何解决啊????????
点击此处继续提问与开发者们互动

申请试用

提交后工作人员会尽快与您联系进行功能演示
技术咨询已转移到管理后台,请先登录

即时通讯云使用者请在应用详情页面咨询
客服云使用者请进入管理员模式咨询

×

400电话

商务咨询

技术咨询

免费试用