我是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
库但我无法在我的系统上找到它。需要吗?如果是这样,我该如何找到它?