Each iOS app has its own app sandbox. respectively for
Application Package Documents/library/caches/library/preferences/tmp/
When you run the simulation, the rules for finding the corresponding path under your Mac will differ depending on the version of Xcode, where the path under XCode6 is
Application Package ~library/developer/coresimulator/devices/< emulator device id>/data/containers/bundle/application/< Apply id>-windows-devices-Select simulator-device information-identifier found.
documents/~/library/developer/coresimulator/devices/< Simulator Device id>/data/containers/containers/data/ application/< application id>/Documents Note: The < application id> Here is inconsistent with the application package, and is not necessarily the same even for the same application. So like locating the ID of the specified app is cumbersome, if you have just modified a file under an app, you can use the command find under Application . -mtime-1 -ls | Sort -R to locate the file that has just been modified, and then navigate to the app ID
library/caches/~/library/developer/coresimulator/devices/< Simulator Device id>/data/containers/containers/data/ application/< application id>/library/Caches
library/preferences/~/library/developer/coresimulator/devices/< Simulator Device id>/data/containers/containers/data/ application/< Application Id>/library/preferences
tmp/~/library/developer/coresimulator/devices/< Simulator Device id>/data/containers/containers/data/application/ < application id>/tmp
The location of the iOS emulator app sandbox in Mac