1

我将 NanoStore 分发目录添加到我的项目中,并确保检查文件的目标成员身份,但我收到此编译器错误:

ld: warning: directory not found for option '-

L/Users/George/[REDACTED PROJECT NAME]/NanoStore2/Release/Library'
Undefined symbols for architecture armv7:
  "_llvm_gcda_emit_function", referenced from:
      ___llvm_gcov_writeout in libnanostore2.a(NSFNanoStore.o)
      ___llvm_gcov_writeout in libnanostore2.a(NSFNanoGlobals.o)
      ___llvm_gcov_writeout in libnanostore2.a(NSFNanoBag.o)
      ___llvm_gcov_writeout in libnanostore2.a(NSFNanoEngine.o)
      ___llvm_gcov_writeout in libnanostore2.a(NSFNanoObject.o)
      ___llvm_gcov_writeout in libnanostore2.a(NSFNanoSearch.o)
      ___llvm_gcov_writeout in libnanostore2.a(NSFOrderedDictionary.o)
      ...
  "_llvm_gcda_emit_arcs", referenced from:
      ___llvm_gcov_writeout in libnanostore2.a(NSFNanoStore.o)
      ___llvm_gcov_writeout in libnanostore2.a(NSFNanoGlobals.o)
      ___llvm_gcov_writeout in libnanostore2.a(NSFNanoBag.o)
      ___llvm_gcov_writeout in libnanostore2.a(NSFNanoEngine.o)
      ___llvm_gcov_writeout in libnanostore2.a(NSFNanoObject.o)
      ___llvm_gcov_writeout in libnanostore2.a(NSFNanoSearch.o)
      ___llvm_gcov_writeout in libnanostore2.a(NSFOrderedDictionary.o)
      ...
  "_llvm_gcda_start_file", referenced from:
      ___llvm_gcov_writeout in libnanostore2.a(NSFNanoStore.o)
      ___llvm_gcov_writeout in libnanostore2.a(NSFNanoGlobals.o)
      ___llvm_gcov_writeout in libnanostore2.a(NSFNanoBag.o)
      ___llvm_gcov_writeout in libnanostore2.a(NSFNanoEngine.o)
      ___llvm_gcov_writeout in libnanostore2.a(NSFNanoObject.o)
      ___llvm_gcov_writeout in libnanostore2.a(NSFNanoSearch.o)
      ___llvm_gcov_writeout in libnanostore2.a(NSFOrderedDictionary.o)
      ...
  "_llvm_gcda_end_file", referenced from:
      ___llvm_gcov_writeout in libnanostore2.a(NSFNanoStore.o)
      ___llvm_gcov_writeout in libnanostore2.a(NSFNanoGlobals.o)
      ___llvm_gcov_writeout in libnanostore2.a(NSFNanoBag.o)
      ___llvm_gcov_writeout in libnanostore2.a(NSFNanoEngine.o)
      ___llvm_gcov_writeout in libnanostore2.a(NSFNanoObject.o)
      ___llvm_gcov_writeout in libnanostore2.a(NSFNanoSearch.o)
      ___llvm_gcov_writeout in libnanostore2.a(NSFOrderedDictionary.o)
      ...
ld: symbol(s) not found for architecture armv7
clang: error: linker command failed with exit code 1 (use -v to see invocation)

我似乎无法弄清楚出了什么问题?

这是我的项目导航器中的样子:在此处输入图像描述

4

0 回答 0