Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

iPhone simulator folder not in Application Support

Tags:

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?

like image 522
Arvind Avatar asked May 07 '11 08:05

Arvind


People also ask

How do I access iOS simulator files?

# Open application folder in Finder First, copy the path to the app folder from Xcode console. Then open Finder, click on Go -> Go to Folder and paste the application directory path. You will now be able to browse all the files in your application folder.

Where are iOS Simulators stored?

type: ~/Library/Application Support/iPhone Simulator.

Why is there no App Store in iOS simulator?

The Simulator does not run ARM code, ONLY x86 code. Unless you have the raw source code from Apple, you won't see the App Store on the Simulator. So you can only run apps you're working on and compiling yourself, and the few that are preinstalled on the Simulator.

How do I put apps on my iPhone simulator?

Install Apps on SimulatorsGo to Apps > Install Application. Find and open the app you want to install from your Mac. The app appears in the list of installed apps on the right side of the iOS Gateway window.


2 Answers

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] 
like image 151
jki Avatar answered Nov 03 '22 12:11

jki


On Mac OS X 10.7 the users/[username]/Library is hidden. Reveal it using:

chflags nohidden ~/Library 
like image 45
evya Avatar answered Nov 03 '22 13:11

evya