架构x86_64的未定义符号:" _sqlite3_close",引用

时间:2015-10-09 00:44:47

标签: ios sqlite linker-errors

我是objective-c的新用户,当我在xcode中添加sqlite3调用时出现此错误。任何人都知道我可以做些什么来修复这个错误?

Undefined symbols for architecture x86_64:
  "_sqlite3_close", referenced from:
      -[InAppUtils get:] in libInAppUtils.a(InAppUtils.o)
  "_sqlite3_exec", referenced from:
      -[InAppUtils get:] in libInAppUtils.a(InAppUtils.o)
  "_sqlite3_open", referenced from:
      -[InAppUtils get:] in libInAppUtils.a(InAppUtils.o)
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)

我尝试添加libsqlite3.dylib库但我无法在我的系统上找到它。需要吗?如果是这样,我该如何找到它?

0 个答案:

没有答案