找不到iPhone模拟器的SQLite数据库:使用魔术记录 [英] Can't Find iPhone Simulator's SQLite Database : Using Magical Record

查看:82
本文介绍了找不到iPhone模拟器的SQLite数据库:使用魔术记录的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在我的应用程序的documents文件夹中,找不到我的SQLite数据库

库/应用程序支持/iPhone模拟器/6.1/随机应用程序 id"/Documents/

Library/Application Support/iPhone Simulator/6.1/"random app id"/Documents/

^此文件夹为空

MagicalRecord似乎正在工作,我只是不知道如何找到数据库.

MagicalRecord seems to be working, I just have no idea how to find the database.

我使用以下内容来设置Magical Record

I use the following to set up Magical Record

[MagicalRecord setupAutoMigratingCoreDataStack];

那么MagicalRecord在哪里存储其数据库?

推荐答案

MagicalRecord默认将所有数据存储存储在以下位置:

MagicalRecord stores, by default, all data stores in the following location:

{App文件夹}/库/应用程序支持/{Info.plist中的应用程序名称}/{storeName.sqlite}

{App Folder}/Library/Application Support/{App Name from Info.plist}/{storeName.sqlite}

这可以从模拟器以及文档中轻松访问.

This is easily accessible from the simulator as well as documents.

这篇关于找不到iPhone模拟器的SQLite数据库:使用魔术记录的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆