核心数据,如何在Mountain Lion Finder隐藏模拟器文件夹w SQLite DB浏览器中打开DataStore.sql? [英] Core Data, how do I open DataStore.sql in Mountain Lion Finder hidden Simulator folder w SQLite DB Browser?

查看:144
本文介绍了核心数据,如何在Mountain Lion Finder隐藏模拟器文件夹w SQLite DB浏览器中打开DataStore.sql?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

为了使我在使用Core Data时发生的一些问题,我提供了免费的SQLLite数据库浏览器(SQLDBB)。它很好地将数据库从iOS模拟器文件夹复制到我的桌面,然后打开它,浏览db内容在SQLDBB。

To bring some clearity to what's happening as I work with Core Data, I DL the free SQLLite Database Browser (SQLDBB). It worked fine to copy the db from the iOS simulators Documentsfolder into my desktop and then open it and browse db content just fine in SQLDBB.

由于模拟器库文件默认隐藏在OSX Mountain Lion中,我无法使用常规的SQLDBBs打开文件对话框打开它。

Since the simulator library files are hidden in OSX Mountain Lion by default, I can't use the normal SQLDBBs Open-file dialog to open it.

文件在我的Mountain Lion Finder中(使用Finder> Go>转到文件夹获取);

The file is here in my Mountain Lion Finder (used Finder > Go > "Go to folder" to get it);

~/Library/Application Support/iPhone Simulator/5.1/Applications/...aAppIDnr.../Documents/DataStore.sql

有什么建议可以直接在SQLDBB中打开?

推荐答案

SOLVED! / strong>
但是不能回答我的自我由于repurtationrestrictions,因此这个评论。

SOLVED! But couldn't answer my self due to repurtationrestrictions, hence this comment.

1. Browse to your simulator folder as mentioned above. 
2. Simply "drag & drop" the DataStore.sql file onto the SQLDBB and it will open. 

在Xcode模拟器中使用Core Data时,现在有一个liveDB查看器 - )

You now have a "live" DB viewer while working with Core Data in Xcode Simulator, pretty handy :-)

Ps当前SQLDBB(v2.0b1)没有附加的开发人员ID,因此要在Mountain Lion中打开它需要按住ctrl的图标>选择打开...

P.s. The current SQLDBB (v2.0b1) does not have a Developer ID attached to it, so to open it in Mountain Lion you need to hold ctrl on it's icon > choose open...

这篇关于核心数据,如何在Mountain Lion Finder隐藏模拟器文件夹w SQLite DB浏览器中打开DataStore.sql?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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