iPhone模拟器文件夹不在应用程序支持中 [英] iPhone simulator folder not in Application Support
问题描述
我正在创建一个将一些数据写入数据库的应用程序。为了检查我需要在应用程序中打开数据库。
我认为它应该在
〜/ Library / Application Support / iphone simulator .... / p>
我还没有在Application Support中找到iphone模拟器文件夹。我安装了ios 4.2,模拟器工作正常。
我在哪里可以找到它?
Xcode版本3.x-5.x
模拟器通常与SDK一起安装,因此大多数情况下您应该查看(例如,如果您在其默认位置安装了Xcode 3.1和SDK 4.3):
/Developer/Platforms/iPhoneSimulator.platform/Developer/Applications/iOS Simulator.app
安装在iPhone模拟器上的应用程序应该(如果编译为iOS 4.3)位于:
〜/ Library / Application Support / iPhone Simulator / 4.3 / Applications / [app GUID]
如果您在App中寻找.sqlite数据库lication,它应该位于:
〜/ Library / Application Support / iPhone Simulator / 4.3 / Applications / [app GUID] / Documents / [appname] .sqlite
Xcode 6
模拟器设备位于:
〜/ Library / Developer / CoreSimulator / Devices /
所以您的申请数据(例如应用程序数据库在应用程序文档文件夹中)将在
〜/ Library / Developer / CoreSimulator / Devices / [模拟器设备ID] / data / Applications / [app GUID] / Documents / [appname.sqlite]
I am creating an application that write some data to the database. For checking I need to open the database in applications.
I think it should be in
~/Library/Application Support/iphone simulator....
I have not found the iphone simulator folder in Application Support.I have installed ios 4.2, and simulator is working properly.
Where can I find it?
Xcode versions 3.x-5.x
Simulator usually is installed together with SDK so most probably you should look (e.g., if you installed Xcode 3.1 and SDK 4.3 in their default locations) within:
/Developer/Platforms/iPhoneSimulator.platform/Developer/Applications/iOS Simulator.app
Apps that are installed on your iPhone Simulator should be (if for example compiled for iOS 4.3) located in:
~/Library/Application Support/iPhone Simulator/4.3/Applications/[app GUID]
If you are looking for .sqlite database within Application, it should reside in:
~/Library/Application Support/iPhone Simulator/4.3/Applications/[app GUID]/Documents/[appname].sqlite
Xcode 6
The simulator devices are located in:
~/Library/Developer/CoreSimulator/Devices/
so your application data (e.g. application database in app Document folder) will be in
~/Library/Developer/CoreSimulator/Devices/[simulator device id]/data/Applications/[app GUID]/Documents/[appname.sqlite]
这篇关于iPhone模拟器文件夹不在应用程序支持中的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!