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

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

问题描述

Apple拒绝了此应用,甚至在解决方案中心提供了长篇解释,但我不确定原因。有人可以帮我翻译吗?


2.23



我们发现你的应用确实不遵循iOS数据存储
指南,这是根据App Store审查指南所要求的。



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




  • 安装并启动应用

  • 转到设置> iCloud>存储&备份>管理存储

  • 如有必要,请点按显示所有应用

  • 检查应用的存储空间



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



应用程序使用的临时文件只应存储在/ tmp
目录中;请记得在用户退出应用程序时删除存储在此位置
的文件。



可以重新创建但必须保留以便$ b正常运行的数据$ b你的应用程序 - 或者因为客户希望它可用于离线
使用 - 应标记为不备份属性。对于NSURL
对象,添加NSURLIsExcludedFromBackupKey属性以防止备份
对应文件。对于CFURLRef对象,请使用
对应的kCFURLIsExcludedFromBackupKey属性。



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



有必要修改你的应用程序以满足iOS
数据存储指南的要求。对于离散的代码级问题,您可以向
咨询Apple Developer Technical Support。请确保
至:




  • 包括拒绝问题的完整详情

  • 准备任何符号化的崩溃日志,屏幕截图和步骤,以重现DTS工程师跟进时的问题。



有关如何使用的信息符号化并阅读崩溃日志,请参阅
技术说明TN2151了解和分析iPhone OS应用程序
崩溃报告。



如果您难以复制此问题,请尝试测试
工作流程,如
https中所述: //developer.apple.com/library/ios/qa/qa1764/ 使用Xcode的存档功能测试工作流



解决方案


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



应用程序使用的临时文件应该只存储在/ tmp目录中。请记得在用户退出应用程序时删除存储在此位置的文件。



可以重新创建但必须保持应用程序正常运行的数据 - 或者因为客户期望它可供离线使用 - 应标记为不备份属性。对于NSURL对象,请添加NSURLIsExcludedFromBackupKey属性以防止备份相应的文件。对于CFURLRef对象,请使用相应的kCFURLIsExcludedFromBackupKey属性。


这就是告诉您他们认为问题的确切原因。显然,您在iCloud备份的位置存储非用户自己创建的数据,而不会告诉iCloud不备份它。 (iCloud仅用于备份用户创建的数据。)


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

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.

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天全站免登陆