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
Post a Comment