I'm using OCMOCK for class mocking and lcov for code coverage. For OCMock to work i have to set -ObjC
flag under "Other linker flag" and for lcov to generate code coverage for .m file i need to add that file under TestTarget -> Compile Source
but if i do this its giving me below errors
"duplicate symbol _OBJC_CLASS_$_ClassName in"
"duplicate symbol _OBJC_METACLASS_$_Class Name in"
"duplicate symbol _OBJC_IVAR_$_ClassName._sharedCoAPEngine in:"
Is there any work around for this, by which i can use lcov with OCMock??