objective-c - jspatch和个推sdk一起使用出错

浏览:40日期:2023-11-23

问题描述

duplicate symbol __exceptionBlock in:

/Users/zjs/1Play/xiaorenwu/JSPatchPlatform.framework/JSPatchPlatform(JPEngine.o)/Users/zjs/1Play/xiaorenwu/xwcapp/libs/libGeTuiSdk-1.4.3.a(GXJMEngine.o)

duplicate symbol _new_msgSend9 in:

/Users/zjs/1Play/xiaorenwu/JSPatchPlatform.framework/JSPatchPlatform(JPEngine.o)/Users/zjs/1Play/xiaorenwu/xwcapp/libs/libGeTuiSdk-1.4.3.a(GXJMEngine.o)

duplicate symbol _new_msgSend8 in:

/Users/zjs/1Play/xiaorenwu/JSPatchPlatform.framework/JSPatchPlatform(JPEngine.o)/Users/zjs/1Play/xiaorenwu/xwcapp/libs/libGeTuiSdk-1.4.3.a(GXJMEngine.o)

duplicate symbol _new_msgSend7 in:

/Users/zjs/1Play/xiaorenwu/JSPatchPlatform.framework/JSPatchPlatform(JPEngine.o)/Users/zjs/1Play/xiaorenwu/xwcapp/libs/libGeTuiSdk-1.4.3.a(GXJMEngine.o)

duplicate symbol _new_msgSend6 in:

/Users/zjs/1Play/xiaorenwu/JSPatchPlatform.framework/JSPatchPlatform(JPEngine.o)/Users/zjs/1Play/xiaorenwu/xwcapp/libs/libGeTuiSdk-1.4.3.a(GXJMEngine.o)

duplicate symbol _new_msgSend5 in:

/Users/zjs/1Play/xiaorenwu/JSPatchPlatform.framework/JSPatchPlatform(JPEngine.o)/Users/zjs/1Play/xiaorenwu/xwcapp/libs/libGeTuiSdk-1.4.3.a(GXJMEngine.o)

duplicate symbol _new_msgSend4 in:

/Users/zjs/1Play/xiaorenwu/JSPatchPlatform.framework/JSPatchPlatform(JPEngine.o)/Users/zjs/1Play/xiaorenwu/xwcapp/libs/libGeTuiSdk-1.4.3.a(GXJMEngine.o)

duplicate symbol _new_msgSend3 in:

/Users/zjs/1Play/xiaorenwu/JSPatchPlatform.framework/JSPatchPlatform(JPEngine.o)/Users/zjs/1Play/xiaorenwu/xwcapp/libs/libGeTuiSdk-1.4.3.a(GXJMEngine.o)

duplicate symbol _new_msgSend2 in:

/Users/zjs/1Play/xiaorenwu/JSPatchPlatform.framework/JSPatchPlatform(JPEngine.o)/Users/zjs/1Play/xiaorenwu/xwcapp/libs/libGeTuiSdk-1.4.3.a(GXJMEngine.o)

duplicate symbol _new_msgSend1 in:

/Users/zjs/1Play/xiaorenwu/JSPatchPlatform.framework/JSPatchPlatform(JPEngine.o)/Users/zjs/1Play/xiaorenwu/xwcapp/libs/libGeTuiSdk-1.4.3.a(GXJMEngine.o)

duplicate symbol _new_msgSend10 in:

/Users/zjs/1Play/xiaorenwu/JSPatchPlatform.framework/JSPatchPlatform(JPEngine.o)/Users/zjs/1Play/xiaorenwu/xwcapp/libs/libGeTuiSdk-1.4.3.a(GXJMEngine.o)

ld: 11 duplicate symbols for architecture i386clang: error: linker command failed with exit code 1 (use -v to see invocation)

问题解答

回答1:

已解决:原因是个推库中用了jspath导致代码重复。

相关文章: