Where on my machine is the iPhone simulator installed?
I\'m been trying to find where a test application I run in the simulator is stored.
In Xcode 6, iOS Simulator.app is located in this location:
/Applications/Xcode.app/Contents/Developer/Applications/iOS Simulator.app
Xcode 6 -> /Users/{YOUR NAME}/Library/Developer/CoreSimulator/Devices/{DEVICE ID}/data/Containers/Data/Application/{APPLICATION ID}/
Or print it out in Xcode console
#if TARGET_IPHONE_SIMULATOR
NSLog(@"Documents Directory: %@", [[[NSFileManager defaultManager] URLsForDirectory:NSDocumentDirectory inDomains:NSUserDomainMask] lastObject]);
#endif
The actual Simulator application itself is located at /Developer/Platforms/iPhoneSimulator.platform/Developer/Applications/iPhone Simulator
In X-Code 4.2
The Photos of the iPhone simulator are stored in
/Users/user_name/Library/Application Support/iPhone Simulator/5.0/Media/DCIM/100APPLE
For xcode 7, you'll find it at here
/Users/{USERNAME}/Library/Developer/CoreSimulator/Devices/{CRIPTIC NUMBER}/data/Containers/Data/Application/{CRIPTIC NUMBER}/Documents/
or execute the code below in your xcode project
Objective C
NSLog(@"Documents Directory: %@", [[[NSFileManager defaultManager] URLsForDirectory:NSDocumentDirectory inDomains:NSUserDomainMask] lastObject]);
Swift
print(applicationDocumentsDirectory.path)