Lion problem report and fix

Shao Sean shaosean at wehostmacs.com
Fri Jul 22 19:46:54 EDT 2011


More information from Apple in regards to the ~/library/application  
support directory and what it is used for..


The Library directory is where applications and other code modules  
store their custom data files. Regardless of whether you are writing  
code for iOS or Mac OS X, understanding the structure of the Library  
directory is important. You use this directory to store data files,  
caches, resources, preferences, and even user data in some specific  
situations.

There are several Library directories throughout the system but only a  
few that your code should ever need to access:

• Library in the current home directory—This is the version of the  
directory you use the most because it is the one that contains all  
user-specific files. In iOS, the home directory is the application’s  
sandbox directory. In Mac OS X, it is the application’s sandbox  
directory or the current user’s home directory (if the application is  
not in a sandbox).

• /Library (Mac OS X only)—Applications that share resources between  
users store those resources in this version of the Library directory.  
Sandboxed application are not permitted to use this directory.

• /System/Library (Mac OS X only)—This directory is reserved for use  
by Apple.



Application Support

Use this directory to store all application data files except those  
associated with the user’s documents. For example, you might use this  
directory to store application-created data files, configuration  
files, templates, or other fixed or modifiable resources that are  
managed by the application. An application might use this directory to  
store a modifiable copy of resources contained initially in the  
application’s bundle. A game might use this directory to store new  
levels purchased by the user and downloaded from a server.

All content in this directory should be placed in a custom  
subdirectory whose name is that of your application’s bundle  
identifier or your company.



http://developer.apple.com/library/mac/#documentation/FileManagement/ 
Conceptual/FileSystemProgrammingGUide/FileSystemOverview/ 
FileSystemOverview.html%23//apple_ref/doc/uid/TP40010672-CH2-SW1



More information about the use-livecode mailing list