Xcode错误-配置文件不包括com.apple.developer.icloud-container-environment权利

问题描述 投票:0回答:1

我们在应用程序中启用了iCloud功能,并在以下服务中启用了该功能,

  1. 键值存储
  2. iCloud文档

但是在尝试通过存档导出构建时,它向我抛出了以下错误,

Profile doesn't include the com.apple.developer.icloud-container-environment entitlement.

我尝试将“权利”文件中的com.apple.developer.icloud-container-environment entitlement也设置为ProductionDevelopment,但它也没有帮助。

任何线索如何解决此错误?

enter image description hereenter image description hereenter image description here

ios xcode icloud archive ios-provisioning
1个回答
0
投票

尝试以下步骤,可能会有所帮助

  • 转到apple dev portal
  • 打开证书,标识符和配置文件
  • 手动编辑/创建您现有的配置文件
  • 从门户网站下载,并对其进行唯一命名,以便您区分从生成的Xcode中获取它,即“ MyNewProfile”
  • 导出存档并分配MyProfile
© www.soinside.com 2019 - 2024. All rights reserved.