File System Usage Requirements for Mac Apps
To promote a more consistent user experience, Mac apps submitted to the App Store must write files in the appropriate location. This avoids users being confused when applications store data in unexpected areas of the file system (e.g., storing databases in the user’s Documents folder or storing files in the user’s Library folder that are not recognizably associated with your application). Learn more about file system usage