c++ - Duplicate symbol in static library -


i'm trying compile ios project simulator in xcode 3rd-party static library added , linker error message complaining duplicate symbols:

duplicate symbol _objc_class_$_utility in: libuiextensions.a(utility.o) /users/joe/library/developer/xcode/deriveddata/pdfsampleprogram-cdoogvkqqrafetcvscffsrlgkvrr/build/intermediates/pdfsampleprogram.build/debug-iphonesimulator/pdfsampleprogram.build/objects-normal/i386/utility.o

duplicate symbol _objc_metaclass_$_utility in: libuiextensions.a(utility.o) /users/joe/library/developer/xcode/deriveddata/pdfsampleprogram-cdoogvkqqrafetcvscffsrlgkvrr/build/intermediates/pdfsampleprogram.build/debug-iphonesimulator/pdfsampleprogram.build/objects-normal/i386/utility.o

ld: 2 duplicate symbols architecture i386 clang: error: linker command failed exit code 1 (use -v see invocation)

any idea project? i've added static library once project, header files static libs seem ok. missing in project settings?

there's sample project compiles fine, don't see difference.

check duplicates in build phases > compile sources.


Comments

Popular posts from this blog

python - How to insert QWidgets in the middle of a Layout? -

python - serve multiple gunicorn django instances under nginx ubuntu -

module - Prestashop displayPaymentReturn hook url -