I am getting the following error on launch. I know that one of the frameworks which is linked and embedded has been instrumented for code coverage but the app is not being linked with the symbol that dyld is failing to find.
dyld: Symbol not found: _llvm_gcov_init
I have tried various ways to enable code coverage in the app but so far nothing has worked. Below is the .xcconfig file that I created to enable what I believe is needed. What do I need to do to get Xcode to build an app so dyld can find _llvm_gcov_init?
CLANG_ENABLE_CODE_COVERAGE = YES
OTHER_SWIFT_FLAGS = $(inherited) -profile-generate -profile-coverage-mapping
CFLAGS = $(inherited) -fprofile-arcs -ftest-coverage
LDFLAGS= $(inherited) -fprofile-arcs
GCC_GENERATE_DEBUGGING_SYMBOLS = YES
GCC_GENERATE_TEST_COVERAGE_FILES = YES
GCC_INSTRUMENT_PROGRAM_FLOW_ARCS = YES