数据库存储在 iPhone 模拟器(适用于 Mac OS)中的哪里?

发布于 2025-01-08 03:55:55 字数 136 浏览 5 评论 0原文

我创建一个应用程序。在该应用程序中,我们添加一个本地数据库(db.sqlite)。新用户注册时。然后,将整个数据添加到数据库中。它在设备中正常运行。但是,我如何查看数据(数据是否存储)?问题:当您使用模拟器(在计算机中)时,该数据库文件存储在文件系统的哪里?

i create a application.Whose, Log IN application in this we add a local database (db.sqlite). When new user do registration. than, add the whole data in database. its is run properly in device. But,how i see the data (data was store or not)? Question : where does this database file get stored on the filesystem when you're using an simulator (in Computer)?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

妖妓 2025-01-15 03:55:55

就我而言,我的 .sql 文件位于

/Users/myName/Library/Application Support/iPhone
模拟器/4.2/应用程序/B378BED2-C67C-4465-AB8A-184D80C41D88/库/私人
文件

B378BED2-C67C-4465-AB8A-184D80C41D88是系统生成的一些随机名称,在您的情况下会有所不同。

In my case, I got my .sql file at

/Users/myName/Library/Application Support/iPhone
Simulator/4.2/Applications/B378BED2-C67C-4465-AB8A-184D80C41D88/Library/Private
Documents

B378BED2-C67C-4465-AB8A-184D80C41D88 is some random name generated by system,it would be different in your case.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文