备份 iOS 组容器?

标签 ios file backup


所以我知道一些,或者说几乎所有文件都在 iOS 上备份。 我知道如何防止它们被备份。

为了节省不必要的工作,我想知道 containerURLForSecurityApplicationGroupIdentifier:
也在备份吗?

我在 File System Basics 中找不到任何关于组容器的具体信息来自苹果。在 NSFileManager据说目录存储在~/Library/Group Container/中。在 File System Basics据说Library的所有子目录都由iTunes备份。这是否也意味着我的 Group Container 的内容也已备份或可能未备份?

也许你们中的某个人已经有这方面的经验并且可以准确地告诉我对组容器的内容做了什么。

最佳答案

作为一名 iOS 开发者,这是一个重要的问题。经过一番搜寻,我发现了这个 radar :

AppGroup folder does not backed up (sic) via standard iCloud/iTunes backup procedure

这被报告为 rdar://18396036(打开)的副本,但无法找到。

Apple 的回应:

If this issue is still occurring, please include any relevant logs, and or a test case with your update. (Oct 30, 2014)

Engineering has determined that your bug report is a duplicate of another issue and will be closed (Nov 12, 2014).

听起来预期的功能是应该备份应用程序组文件夹,并且 iOS 8.0 中可能存在阻止此操作的错误,该错误已在 iOS 8.1 中修复。

关于备份 iOS 组容器?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/30303481/

相关文章:

ios - 如何在 IOS 中登录 Facebook 并在新闻提要中分享?

python - 如何通过Python合并不同文件夹中同名文件的内容?

android - 如何将 .txt 文件数据加载到 logcat android 工具中?

java - 删除超过 30 天的 server.log.yyyy-mm-dd jboss eap 6.2 standalone

git - 完全备份一个 git 仓库?

java - 如何在 android 中备份电池插头上的数据?

ios - NSUserDefaults 中不显示任何文本

ios - UITabBarController 在选项卡索引 1 处显示 VC

c - txt 文件执行了一些奇怪的字符

cocoa-touch - Runloop 在模拟器上工作在设备上失败