Skip to content

Instantly share code, notes, and snippets.

@renepardon
Created May 16, 2012 18:00
Show Gist options
  • Save renepardon/2712653 to your computer and use it in GitHub Desktop.
Save renepardon/2712653 to your computer and use it in GitHub Desktop.
Approval Process - Rejected app due iCloud space problem
Your app does not follow the iOS Data Storage Guidelines, as required by the App Store Review Guidelines.
Your app backs up 3.6 MB of data to each user's iCloud space on launch. Please be sure to set the "Do not back up" attribute for all data which is not generated or modified by the user. To check how much data your app is storing:
- Install and launch your app
- Go to Settings > iCloud > Storage and Backup > Manage Storage
- If necessary, select "Show all apps"
- Check your app's storage
The iOS Data Storage Guidelines indicate that only content that the user creates using your app, (documents, new files, edits, etc.) may be stored in the /Documents directory - and backed up to iCloud.
Temporary files used by your app should only be stored in the /tmp directory. Please remember to delete the files stored in this location when the user exits the app.
Data that can be recreated but must persist for proper functioning of your app or because customers expect it to be available for offline use should be appended with the "do not back up" attribute. For NSURL objects, add the NSURLIsExcludedFromBackupKey attribute to prevent the corresponding file from being backed up. For CFURLRef objects, use the corresponding kCFURLIsExcludedFromBackupKey attribute.
For more information, please see Technical Q&A 1719: How do I prevent files from being backed up to iCloud and iTunes?.
Please revise your app so that it adheres to the iOS Data Storage Guidelines.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment