4 Replies Latest reply on Nov 29, 2011 6:42 AM by JamPotTech

    2.23 Apps must follow the iOS Data Storage Guidelines or they will be rejected

    Mike Lipson Level 1

      My Multi Issue v14 App (24124) was just rejected by Apple. Apparently because storage of the data (folios?) was not iCloud compatible.


      Is this related to v14? Would building a v15 app resolve the issue?


      or is there some other problem?


      Please advise...


      Full text of Apple rejection below...





      Nov 4, 2011 08:17 PM. From Apple.



      We found that your app does not follow the iOS Data Storage Guidelines, which is not in compliance with the App Store Review Guidelines.


      In particular, we found magazine downloads are not cached appropriately.


      The iOS Data Store Guidelines specify:


      "1. Only documents and other data that is user-generated, or that cannot otherwise be recreated by your application, should be stored in the /Documents directory and will be automatically backed up by iCloud.


      2. Data that can be downloaded again or regenerated should be stored in the /Library/Caches directory. Examples of files you should put in the Caches directory include database cache files and downloadable content, such as that used by magazine, newspaper, and map applications.


      3. Data that is used only temporarily should be stored in the /tmp directory. Although these files are not backed up to iCloud, remember to delete those files when you are done with them so that they do not continue to consume space on the user’s device."


      For example, only content that the user creates using your app, e.g., documents, new files, edits, etc., may be stored in the/Documents directory - and backed up by iCloud. Other content that the user may use within the app cannot be stored in this directory; such content, e.g., preference files, database files, plists, etc., must be stored in the /Library/Caches directory.


      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.


      It would be appropriate to revise your app so that you store data as specified in the iOS Data Storage Guidelines.


      For discrete code-level questions, you may wish to consult with Apple Developer Technical Support. Please be sure to include any symbolicated crash logs, screenshots, or steps to reproduce the issues when you submit your request. For information on how to symbolicate and read a crash log, please see Tech Note TN2151 Understanding and Analyzing iPhone OS Application Crash Reports.


      To appeal this review, please submit a request to the App Review Board.