ios - 为什么这个应用程序被拒绝了?

标签 ios appstore-approval

Apple 拒绝了这个应用程序,甚至在解决中心提供了很长的解释,但我不确定为什么。有人可以帮我翻译吗?

2.23

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

In particular, we found that on launch and/or content download, your app stores downloaded media (MP3 files). To check how much data your app is storing:

  • Install and launch your app
  • Go to Settings > iCloud > Storage & Backup > Manage Storage
  • If necessary, tap "Show all apps"
  • Check your app's storage

The iOS Data Storage Guidelines indicate that 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.

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 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, please see Technical Q&A 1719: How do I prevent files from being backed up to iCloud and iTunes?.

It is necessary to revise your app to meet the requirements of 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 the complete details of your rejection issues
  • prepare any symbolicated crash logs, screenshots, and steps to reproduce the issues for when the DTS engineer follows up.

For information on how to symbolicate and read a crash log, please see Tech Note TN2151 Understanding and Analyzing iPhone OS Application Crash Reports.

If you have difficulty reproducing this issue, please try testing the workflow as described in https://developer.apple.com/library/ios/qa/qa1764/Testing Workflow with Xcode's Archive feature".

最佳答案

The iOS Data Storage Guidelines indicate that 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.

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 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.

就在那儿,准确地告诉您他们认为问题出在哪里。显然,您将不是由用户自己创建的数据存储在 iCloud 备份的位置,而没有告诉 iCloud 不备份它。 (iCloud 只应备份用户创建的数据。)

关于ios - 为什么这个应用程序被拒绝了?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/10759779/

相关文章:

ios - Apple 拒绝了在没有任何非公共(public) API 的非公共(public) API 上使用的应用程序

ios - 以编程方式调用电话

ios - 将代码从 Objective C 转换为 Swift for FactualSDK

ios - 在 Objective-C 中,如果响应为零,如何处理

iOS:Xcode 4.2 和导航 Controller

ios - App审核时Apple是如何检测UDID访问的?

ios - 如何仅获取从 url 下载图像的数据的图像

ios - Apple 以不支持 ipv6 为由拒绝了我们的 phonegap 应用程序

ios - 如果我从共享扩展中打开包含应用程序,Apple 会拒绝吗?

app-store - 我可以在 App Store 上发布模板应用(付费)吗