Same library included from two libraries

时光毁灭记忆、已成空白 提交于 2019-12-12 20:53:43

问题


I get error:

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

because I have two libraries that both use GTMLogger.o.

/Users/***/Library/Developer/Xcode/DerivedData/project-name/Build/Products/Debug-iphoneos/GoogleToolboxForMac/libGoogleToolboxForMac.a(GTMLogger.o)
/Users/***/project-name/Libraries/Framework/Framework.framework/Framework(GTMLogger.o)

One library is included as cocoapod and the other is included manually. Second library cant be included as cocoapod.

I need both libraries and just want to know is there a way to solve this?

来源:https://stackoverflow.com/questions/40638972/same-library-included-from-two-libraries

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!