gpt4 book ai didi

ios - 如何访问另一个应用程序的 iCloud 容器(使用另一个开发人员配置文件开发的应用程序和在该配置文件中创建的 icloud 容器)?

转载 作者:塔克拉玛干 更新时间:2023-11-02 08:35:48 31 4
gpt4 key购买 nike

我有一个 ios 应用程序,它使用 iCloudcontainer 来保存用户的一些数据,例如用户的“到期日期”。我要用不同的方式创建应用程序的副本开发者账号。我要将用户从第一个应用程序迁移到第二个应用程序,获取存储在 icloud 容器中的到期日期很重要。我可以从第二个应用程序访问第一个应用程序的icloud“到期日期”吗?

最佳答案

您将不得不将该信息从外部迁移到 iCloud(无论您如何在新版本中存储它)。这可能必须通过一些专门构建的管理工具/流程来实现。

共享容器只能通过同一开发者的应用访问

Multiple apps and users have access to iCloud, but data is segregated and encapsulated in partitions called containers. The containers belonging to your apps cannot be accessed by apps from another developer. (from "About Containers and Databases", https://developer.apple.com/library/ios/documentation/DataManagement/Conceptual/CloudKitQuickStart/EnablingiCloudandConfiguringCloudKit/EnablingiCloudandConfiguringCloudKit.html)

根据此处的“传输应用程序的标准”,使用 iCloud 的应用程序不符合 iTunes Connect 传输条件:https://developer.apple.com/library/ios/documentation/LanguagesUtilities/Conceptual/iTunesConnect_Guide/Chapters/TransferringAndDeletingApps.html

No version of the app can use an iCloud entitlement.

关于ios - 如何访问另一个应用程序的 iCloud 容器(使用另一个开发人员配置文件开发的应用程序和在该配置文件中创建的 icloud 容器)?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/31521341/

31 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com