iphone模拟器中的数据库存储在哪里(适用于Mac OS)? [英] where database store in iphone simulator (for Mac OS)?
问题描述
我创建了一个应用程序.谁的,在这个登录应用程序中我们添加了一个本地数据库(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)?
推荐答案
就我而言,我的 .sql 文件位于
In my case, I got my .sql file at
/Users/myName/Library/Application Support/iPhoneSimulator/4.2/Applications/B378BED2-C67C-4465-AB8A-184D80C41D88/Library/Private文件
/Users/myName/Library/Application Support/iPhone Simulator/4.2/Applications/B378BED2-C67C-4465-AB8A-184D80C41D88/Library/Private Documents
B378BED2-C67C-4465-AB8A-184D80C41D88是系统随机生成的名字,你的情况会有所不同.
B378BED2-C67C-4465-AB8A-184D80C41D88 is some random name generated by system,it would be different in your case.
这篇关于iphone模拟器中的数据库存储在哪里(适用于Mac OS)?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!