简体   繁体   English

iPhone:在库文档中找不到Sqlite文件

[英]iPhone:Sqlite file not found in library documents

I am trying some DB based apps in iphone.I used this sample as a guide and it works nice. 我正在尝试在iphone中使用一些基于数据库的应用程序。我以该示例为指导,效果很好。
When I start a new project,no data is displayed.When checked I found that the sqlite file is not available in the library folder. 当我开始一个新项目时,没有任何数据显示。选中后,我发现sqlite文件在库文件夹中不可用。

I checked the DBpath but its right. 我检查了DBpath但它是正确的。
What's gone wrong ?Please help me.. 出了什么问题?请帮助我。

Follow the link You need to set the path for the sqlite3.h file my using 按照链接您需要设置sqlite3.h文件的路径

#import "/usr/include/sqlite3.h"

Hope this will help you out :) 希望这会帮到你:)

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM