我尝试使用 FMDB 数据库,但出现错误:
Undefined symbols for architecture i386:
"_OBJC_CLASS_$_FMDatabase", referenced from:
objc-class-ref in MainViewAppDelegate.o
ld: symbol(s) not found for architecture i386
clang: error: linker command failed with exit code 1 (use -v to see invocation)
我已经添加了 src 目录,除了:fmdb.m, libsqlite3.0.dylib 到我的库中,我已经在我的 Appdelegate.h 中导入了“FMDatabase.h”