Rejection: “2.23: Apps must follow the iOS Data Storage Guidelines”, We do not have any data saved in documents folder

ε祈祈猫儿з 提交于 2019-11-30 20:59:06

Just because the Documents directory is empty and you are setting the do-not-backup flag on your directory in Application Support does not mean there is nothing else that could get backed up.

The App Programming Guide for iOS in the Performance Tips chapter has a section which states:

App Backup Best Practices

You do not have to prepare your app in any way for backup and restore operations. Devices with an active iCloud account have their app data backed up to iCloud at appropriate times. For devices that are plugged into a computer, iTunes performs an incremental backup of the app’s data files. However, iCloud and iTunes do not back up the contents of the following directories:

  • <Application_Home>/AppName.app
  • <Application_Data>/Library/Caches
  • <Application_Data>/tmp
  • so there are areas other than the Documents folder that can get backed up. Maybe you have another file lurking someplace in Library or Application Support?

    易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
    该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!