请提出任何建议:
duplicate symbol _OBJC_CLASS_$_Reachability in:
/Users/retributionxd/Library/Developer/Xcode/DerivedData/RevEye-doarrfgrbaqxejbxnrhmfdcgqgka/Build/Intermediates/RevEye.build/Debug-iphonesimulator/RevEye.build/Objects-normal/x86_64/Reachability.o
/Users/retributionxd/Desktop/amar/reveye/RevEye/WikitudeSDK.framework/WikitudeSDK(Reachability.o)
duplicate symbol _OBJC_METACLASS_$_Reachability in:
/Users/retributionxd/Library/Developer/Xcode/DerivedData/RevEye-doarrfgrbaqxejbxnrhmfdcgqgka/Build/Intermediates/RevEye.build/Debug-iphonesimulator/RevEye.build/Objects-normal/x86_64/Reachability.o
/Users/retributionxd/Desktop/amar/reveye/RevEye/WikitudeSDK.framework/WikitudeSDK(Reachability.o)
ld: 2 duplicate symbols for architecture x86_64
错误陈述:
clang: error: linker command failed with exit code 1 (use -v to see invocation)
答案 0 :(得分:0)
已更新可能的解决方案
DerivedData
文件夹并重新构建(不管怎样,您应该不时地执行此操作) - 再次启动XCode,清理,构建WikitudeSDK.framework
尝试构建。我可以想象您嵌入了该框架两次,确保通过删除一个不是这种情况。
如果它不起作用,再次添加并尝试构建答案 1 :(得分:0)
由于文件重复而发生此错误。有时我们使用多个框架,但是那些框架具有其他框架也具有的文件。因此,我们需要识别重复的文件并将其删除。