【问题标题】:Difference between com.apple.developer.icloud-container-identifiers and com.apple.developer.ubiquity-container-identifierscom.apple.developer.icloud-container-identifiers 和 com.apple.developer.ubiquity-container-identifiers 之间的区别
【发布时间】:2021-06-28 11:47:47
【问题描述】:

有人知道这两个授权密钥的区别吗?

(我已经更正了上一个问题中被错误询问的第二个标识符 - 我指的不是 kvstore 容器,而是 ubiquity 容器)。

Apple 在不同地方的文档说两者都是为了同一件事:启用 iCloud 文档存储。

【问题讨论】:

    标签: ios swift xcode foundation entitlements


    【解决方案1】:

    com.apple.developer.icloud-container-identifiersCloudKit 相关,与 iCloud 文档无关。此密钥为badly documented,但当您在 ​​Xcode 中应用程序的目标设置的 iCloud 部分中选择 CloudKit 容器时,它会添加到您的权利文件中。

    iCloud 文档存储有点旧,可能是因为the documentationcom.apple.developer.ubiquity-container-identifiers 更清晰。

    【讨论】:

    • 感谢@Ely,这是有道理的。这是您从经验中学到的东西,还是在任何地方都有记录?
    • @GauravSharma 我已经扩展了我的答案。
    猜你喜欢
    • 2021-06-27
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2012-11-09
    • 1970-01-01
    • 2017-11-14
    • 2017-03-24
    • 2017-12-07
    相关资源
    最近更新 更多