这里有什么问题,它是用真正的iphone设备构建的,但是当我想用iPhone模拟器构建/运行它时,就像这样显示
duplicate symbol _DictionaryForNode in:
/Users/**/Library/Developer/Xcode/DerivedData/**-gfeynokufbufhkgjzjzwlijxekpb/Build/Intermediates/**.build/Debug-iphonesimulator/**.build/Objects-normal/i386/XPathQuery.o
/Users/**/Downloads/SOAPEngine-master/SOAPEngine64.framework/SOAPEngine64(SOAPXPathQuery.o)
duplicate symbol _PerformXPathQuery in:
/Users/**/Library/Developer/Xcode/DerivedData/**-gfeynokufbufhkgjzjzwlijxekpb/Build/Intermediates/**.build/Debug-iphonesimulator/**.build/Objects-normal/i386/XPathQuery.o
/Users/**/Downloads/SOAPEngine-master/SOAPEngine64.framework/SOAPEngine64(SOAPXPathQuery.o)
ld: 2 duplicate symbols for architecture i386
clang: error: linker command failed with exit code 1 (use -v to see invocation)
仅供参考:构建阶段
中没有.m导入或重复文件答案 0 :(得分:0)
选择目标并查看Build Phases。确保同一文件未列出多次。
答案 1 :(得分:0)
如果您的项目中有XPathQuery.h / m,在SOAPEngine中它已经集成,您只需要从项目中删除XPathQuery.m,只留下XPathQuery.h,在下一版本的SOAPEngine中我们就可以了。我将解决这个问题,请在GitHub上打开一个问题。