I cache some downloaded information in the NSLibraryDirectory in an App. However after a recent update the users report having problems accessing the previously downloaded content in the Library directory.
Which directories are safe to cache information over new app versions? Is there any Apple documentation on this? I couldn't find any...
thanks a lot, e.
The window is displayed when the Sandbox Menu > Sandbox > Delete Sandbox command (or the corresponding command from the Tray Icon Menu) is invoked. The window is also displayed if the sandbox is configured for automatic delete (see Sandbox Settings > Delete > Invocation), and any files are eligible for Quick Recovery.
All third-party apps are “sandboxed,” so they are restricted from accessing files stored by other apps or from making changes to the device. Sandboxing is designed to prevent apps from gathering or modifying information stored by other apps.
Overview. The App Sandbox is an access control technology that macOS provides and enforces at the kernel level. The sandbox's primary function is to contain damage to the system and the user's data if the user executes a compromised app.
from Apple Application Programming Guide:
Files Saved During Application Updates When a user downloads an application update, iTunes installs the update in a new application directory. It then moves the user’s data files from the old installation over to the new application directory before deleting the old installation. Files in the following directories are guaranteed to be preserved during the update process:
<Application_Home>/Documents <Application_Home>/Library
Although files in other user directories may also be moved over, you should not rely on them being present after an update.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With