将 Splunk MINT SDK 添加到现有项目后,我现在遇到链接器重复:
duplicate symbol _OBJC_CLASS_$_SSMemoryInfo in:
/Users/Mac05/Library/Developer/Xcode/DerivedData/../armv7/SSMemoryInfo.o
../SplunkMint.framework/SplunkMint(SSMemoryInfo.o)
duplicate symbol _OBJC_METACLASS_$_SSMemoryInfo in:
/Users/Mac05/Library/Developer/Xcode/DerivedData/../Objects-normal/armv7/SSMemoryInfo.o
/Volumes/Data HD/../SplunkMint.framework/SplunkMint(SSMemoryInfo.o)
ld: 2 duplicate symbols for architecture armv7
clang: error: linker command failed with exit code 1 (use -v to see invocation)
我在这里使用 Facebook,Google地图,Google登录和Google Places SDK 。 请帮我解决这个错误。
这是SKD的开发者指南网站:Splunk MINT SDK for iOS Developer Guide
答案 0 :(得分:0)
将每个剩余的必需框架和库添加为 如下。在Link Binary With Libraries下,单击+按钮,单击 添加其他,选择以下选项之一,然后单击添加:
SystemConfiguration.framework
CoreTelephony.framework
CoreLocation.framework
WebKit.framework
libz.dylib