Xcode 6中的iCloud容器名称前缀更改

时间:2015-01-19 01:50:26

标签: ios xcode icloud

我需要更新其中一个iCloud容器名称前缀为TeamIDPrefix的实时应用。 Xcode 6仅允许以iCloud开头的iCloud容器名称。

问题:如果我使用新的iCloud容器名称(前缀为iCloud),我的用户将无法再访问旧容器中的数据(具有TeamID前缀)

1 个答案:

答案 0 :(得分:0)

这解决了我的问题。

  1. 创建包含iCloud容器的AppID。它应该看起来像这样
  2. enter image description here

    1. 制作一个看起来像这样的权利文件(在本例中我只使用iCloud Documents)。
    2. enter image description here

      Xcode会在“功能”下显示错误。忽略错误,不要点击“修复它”,因为它会弄乱一切。

      enter image description here