为什么这个应用程序被拒绝了? [英] Why Was This App Rejected?

查看:33
本文介绍了为什么这个应用程序被拒绝了?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

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

Apple rejected this app, and even provided a long explanation in the Resolution Center, but I am not certain why. Could someone help me translate?

2.23

我们发现您的应用没有遵循 iOS 数据存储指南,这是 App Store 审核指南所必需的.

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

特别是,我们发现在发布和/或内容下载时,您的应用程序存储下载的媒体(MP3 文件).要检查您的数据量应用正在存储:

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:

  • 安装并启动您的应用
  • 前往设置">iCloud">存储与存储"备份 > 管理存储
  • 如有必要,请点按显示所有应用"
  • 检查应用的存储空间

iOS 数据存储指南表明,只有用户使用您的应用程序创建,例如文档、新文件、编辑等,可能存储在/Documents 目录中 - 并由 iCloud 备份.

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.

您的应用程序使用的临时文件应仅存储在/tmp目录;请记住删除存储在此位置的文件当用户退出应用时.

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.

可以重新创建但必须持久保存才能正常运行的数据您的应用程序 - 或者因为客户希望它可以离线使用使用 - 应标有不备份"属性.对于 NSURL对象,添加 NSURLIsExcludedFromBackupKey 属性以防止相应的文件被备份.对于 CFURLRef 对象,使用对应的 kCFURLIsExcludedFromBackupKey 属性.

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.

有关更多信息,请参阅技术问答 1719:我如何防止文件从备份到 iCloud 和 iTunes?.

For more information, please see Technical Q&A 1719: How do I prevent files from being backed up to iCloud and iTunes?.

有必要修改您的应用程序以满足iOS的要求数据存储指南.对于离散的代码级问题,您可以希望咨询 Apple 开发人员技术支持.请确定到:

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:

  • 包括拒绝问题的完整详细信息
  • 准备任何符号化的崩溃日志、屏幕截图和步骤,以便在 DTS 工程师跟进时重现问题.

有关如何符号化和读取崩溃日志的信息,请参阅技术说明 TN2151 理解和分析 iPhone 操作系统应用程序崩溃报告.

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

如果您在重现此问题时遇到困难,请尝试测试中描述的工作流程https://developer.apple.com/library/ios/qa/qa1764/测试工作流程使用 Xcode 的存档功能".

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

推荐答案

iOS 数据存储指南表明,只有用户使用您的应用创建的内容,例如文档、新文件、编辑等,才能存储在/Documents 目录中 - 并由 iCloud 进行备份.

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.

应用使用的临时文件只能存放在/tmp目录下;请记住在用户退出应用程序时删除存储在此位置的文件.

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.

可以重新创建但必须保留以保证您的应用正常运行的数据——或者因为客户希望它可供离线使用——应标记为不备份"属性.对于 NSURL 对象,添加 NSURLIsExcludedFromBackupKey 属性以防止备份对应的文件.对于 CFURLRef 对象,使用相应的 kCFURLIsExcludedFromBackupKey 属性.

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 应该只备份用户创建的数据.)

That right there tells you exactly what they think the problem is. Apparently, you're storing data that isn't created by the user themselves in a location that iCloud backs up, without telling iCloud to not back it up. (iCloud is only supposed to back up user-created data.)

这篇关于为什么这个应用程序被拒绝了?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆