Why is this application rejected?

Apple rejected this application and even provided a long explanation in the Resolution Center, but I'm not sure why. Can someone help me translate?

2.23

We found that your application does not support the iOS Data Warehouse Recommendations that are required in the App Store Review Guide.

In particular, we found that when downloading and / or downloading content, the application saves downloaded media (MP3 files). To check how much data the application stores:

  • Install and run the application
  • Go to Settings> iCloud> Storage and Backup> Storage Management
  • If necessary, tap "Show all applications"
  • Check application store

IOS storage guides indicate that only content the user creates your application, such as documents, new files, changes, etc. can be saved in the / Documents directory - and backed by iCloud.

Temporary files used by your application should only be stored in the / tmp directory; do not forget to delete files stored in this place when the user exits the application.

Data that can be recreated, but must be saved for your application to function properly โ€” or because customers expect it to be available for offline use โ€” should be marked 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, see Technical Q & A 1719: How to prevent files from being backed up in iCloud and iTunes ?.

You must review your application to meet the requirements of the iOS Storage Guidelines. For discrete code-level questions, you can consult with Apple Developer Technical Support. Be sure to:

  • include complete information about your failure issues.
  • Prepare any symbolic crash logs, screenshots, and steps to reproduce problems that occur when the DTS engineer shuts down.

For information on how to symbolize and read the fault log, see Technical Note TN2151 Understanding and Analyzing iPhone OS Fault Report.

If you find it difficult to reproduce this problem, try checking the workflow as described in https://developer.apple.com/library/ios/qa/qa1764/ Testing the workflow with the Xcode Archive function. "

+4
source share
2 answers

IOS storage guides indicate that only content created by the user using your application, such as documents, new files, changes, etc., can be stored in the / Documents directory and supported by iCloud.

Temporary files used by your application should only be stored in the / tmp directory; do not forget to delete files stored in this place when the user exits the application.

Data that can be recreated, but must be saved for your application to work properly, or because clients expect it to be available for offline use, should be marked with the โ€œdo not back upโ€ attribute. For NSURL objects, add the NSURLIsExcludedFromBackupKey attribute to prevent backing up the corresponding file. For CFURLRef objects, use the corresponding kCFURLIsExcludedFromBackupKey attribute.

This tells you exactly what they think about the problem. Apparently, you are storing data that is not created by the user himself in a location that iCloud supports without telling iCloud not to support it. (iCloud must back up user-created data.)

+10
source

I think you can use the instructions here , and it only supports iOS5.0.1, 5.1 or later for iOS 5.0, you need to save the data in caches, which means that the data will be lost due to the update.

+3
source

Source: https://habr.com/ru/post/1414441/


All Articles