ios - duplicate symbol with a third party lib for arm64. ok with armv7 -


i trying integrate ad network called 'adsmogo' http://adsmogo.com/. got duplicate symbol error arm64, it's ok armv7. checked similar questions on stackoverflow, no 1 solved problem.

duplicate symbol l108 in:     /users/xxxxxx/desktop/mm/mm/adsmogolib/adsmogosdk/libadsmogo.a(admogoview.o)     /users/xxxxx/desktop/mm/mm/adsmogolib/adsmogosdk/libadsmogo.a(adsmogomraidjsbridge.o) ld: 403 duplicate symbols architecture arm64 clang: error: linker command failed exit code 1 (use -v see invocation) 

solution 1

you need this:

click on project (targets) click on build settings under library search paths, delete paths may you.

solution 2

you have duplicate symbol method means there duplicate file in project

in target's build phase, under "compile sources" check if there duplicate file , delete 1 if have duplication.

hope you.


Comments