简体   繁体   English

iOS应用已被拒绝:应用必须遵循iOS数据存储指南,否则将被拒绝

[英]iOS app rejected: Apps must follow the iOS Data Storage Guidelines or they will be rejected

My application got rejected for the 2nd time . 我的申请第二次被拒绝了

When my app got rejected for the 1st time, I first checked all these links and more: 当我的应用程序一次被拒绝时,我首先检查了所有这些链接以及更多:

Then, I added a function that marks all my /Documents files with "do not back up" attribute NSURLIsExcludedFromBackupKey . 然后,我添加了一个函数,用“不备份”属性NSURLIsExcludedFromBackupKey标记所有我的/Documents文件。 But my application got rejected again. 但我的申请再次遭到拒绝。 Here is my code: 这是我的代码:

func excludeUrls(path: String) {
    let urlToExclude = NSURL.fileURLWithPath(path)
    do {
        try urlToExclude.setResourceValue(NSNumber(bool: true), forKey: NSURLIsExcludedFromBackupKey)
        print("\(path) excluded.")
    } catch {
        print("failed to set resource value")
    }
}

More informations: 更多信息:

  • I have about 320 static photo embedded in Supporting Files , these images are not backed up. 我在Supporting Files嵌入了大约320张静态照片,这些图像没有备份。
  • I use Google/SignIn , Google/CloudMessaging , Alamofire and SQLite.swift pods 我使用Google/SignInGoogle/CloudMessagingAlamofireSQLite.swift pod
  • I have 1 sqlite database that I save in /Library/Cache folder, which is not backed up of course. 我有1个 sqlite数据库,我保存在/ Library / Cache文件夹中,当然没有备份。
  • When I check iCloud storage space for my application: 当我为我的应用程序检查iCloud存储空间时:

    Go to Settings > iCloud > Storage & Backup > Manage Storage 转至设置> iCloud>存储和备份>管理存储

I found that my app stores ONLY 578 KB 我发现我的应用程序存储了578 KB 在此输入图像描述

According to the comment you posted, Apple asserts that your app is actually backing up about 6 megabytes of data on launch. 根据您发布的评论,Apple声称您的应用实际上在启动时备份了大约6兆字节的数据。

That's the key. 这是关键。 Try to reproduce and isolate that behavior. 尝试重现并隔离该行为。 You may be able to use instruments to and a careful eye to figure this out at a lower level, if everything seems to add up otherwise. 如果一切似乎都加起来,你或许可以使用乐器并仔细观察它在较低的水平。

The only other thing you can do is ask them to contact you and talk it through with them. 你唯一能做的就是让他们联系你并与他们交谈。

Hopefuly, Apple Review Team finished by accepting my application. Hopefuly,Apple Review Team完成了接受我的申请。 Here is what I did: 这是我做的:

1 - I moved the generated database to the /Library/Caches 1 - 我将生成的数据库移动到/Library/Caches

2 - I added an ImageLoader class to optimise the way i'm loading and using images inside the app, specially, there is a lot of images to handle. 2 - 我添加了一个ImageLoader类来优化我在应用程序中加载和使用图像的方式,特别是,有很多图像需要处理。 So, best way is to use cache: check this class 所以,最好的方法是使用缓存: 检查这个类

3 - The most important thing that I did, after seeing that my app does not store a lot of KB in iCloud, is that I appealed the rejection and I gave a lot of description and details and even some screenshots. 3 - 在看到我的应用程序没有在iCloud中存储大量KB之后,我做过的最重要的事情就是我对拒绝提出了上诉,我给出了很多描述和细节,甚至是一些截图。

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 2.23-应用必须遵循iOS数据存储准则,否则将被拒绝 - 2.23 - Apps must follow the iOS Data Storage Guidelines or they will be rejected 应用必须遵循iOS数据存储指南,否则将被拒绝 - Apps must follow the iOS Data Storage Guidelines or they will be rejected NSURLIsExcludedFromBackupKey - 应用必须遵循iOS数据存储指南,否则将被拒绝 - NSURLIsExcludedFromBackupKey - Apps must follow the iOS Data Storage Guidelines or they will be rejected 2.23应用必须遵循iOS数据存储准则,否则将被拒绝 - 2.23 Apps must follow the iOS Data Storage Guidelines or they will be rejected 应用必须遵循iOS数据存储指南,否则将在包含.sqlite3的应用中被拒绝 - Apps must follow the iOS Data Storage Guidelines or they will be rejected in app that contains .sqlite3 iOS应用程序被拒绝 - 数据存储指南 - iOS App Rejected - Data Storage Guidelines 拒绝iOS应用程序原因:数据存储指南 - Rejected iOS app reason : Data Storage Guidelines 我的iphone应用程序被拒绝了,原因是“我们发现您的应用程序没有遵循iOS数据存储指南,......” - My iphone App got rejected with this reason “We found that your app does not follow the iOS Data Storage Guidelines,…” 应用未遵循iOS数据存储准则而被拒绝 - App got rejected not following the iOS Data Storage Guidelines 由于iOS数据存储准则问题,我的应用拒绝了Appstore - My app rejected Appstore due to iOS Data Storage Guidelines Issue
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM