UNDERSTANDING THE APPLICATION FOLDERS

Your applications are stored in the iOS file system, so you'll find it useful to understand the folder structure of the iPhone and iPad.

On the desktop, the contents of the iOS Simulator is stored in the ~/Library/Application Support/iPhone Simulator>/<version_no>/ folder.

image NOTE The ~(tilde) represents the current user's directory. Specifically, the preceding directory is equivalent to the following:

/Users/<username>/Library/Application Support/
iPhone Simulator>/<version_no>/

Note that in Lion, the Library folder is now hidden. To view the Library folder, you can select Go image Go to Folder..., and then enter “~/Library.”

Within this folder are five subfolders:

  • Applications
  • Library
  • Media
  • Root
  • tmp

The Applications folder contains all your installed applications (see Figure 10-1). Within it are several folders with long filenames. These filenames are generated by Xcode to uniquely identify each of your applications. Each application's folder holds your application's executable file (the .app file, which includes all embedded resources), together with a few other folders, such as Documents, Library, and tmp. On the iPhone and iPad, all applications run within their own sandboxed environments — that is, an application can access only the files ...

Get Beginning iOS 5 Application Development now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.