xcode4.3 "/usr/include/sqlite3.h" file not found

在xcode4.3中导入sqlite3方法:


1、点击你的工程名字 ,在右方的TARGET内选择Build Phases标签,在Link Binary With Libraries内点击+加号,搜索libsqlite3.dylib,即将sqlite3库文件添加至工程中。
2、代码中引入使用:  <sqlite3.h>, xcode 4.1 以前都是 "/usr/include/sqlite3.h"在xcode4.2 之后就不能这么引用了,会报file not found.


猜你喜欢

转载自blog.csdn.net/aidesudi/article/details/11178831