无效的代码签名权利,向苹果提交应用程序时出错 [英] Invalid Code Signing Entitlements, error while submitting app to apple

查看:28
本文介绍了无效的代码签名权利,向苹果提交应用程序时出错的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在开发一个启用了 iCloud 的应用程序.将应用程序上传到苹果时,出现以下错误:

I am developing an app with iCloud enabled. While uploading the app to apple I got following error:

        Invalid Code Signing Entitlements. Your application bundle's 
signature contains code signing entitlements that are not supported by iOS. 

Specifically, key 
    `'com.apple.developer.icloud-container-identifiers' in Payload ------- not supported`

在网上冲浪时,我也得到了一些禁用 iCloud 的答案,但我想为我的应用程序使用 iCloud 功能,所以有没有其他方法可以解决这个问题,请告诉我.提前致谢

While surfing i also got some answer that disable iCloud,but I want to use iCloud feature for my app, so is there any other way to overcome this problem, please let me know. Thanks in advance

推荐答案

您的配置文件似乎未配置为允许 iCloud 权利.为此,请在 http://developer.apple.com 上登录您的开发帐户,然后转到 iOS开发中心,然后单击右侧 iOS Developer Program 下的Certificates, Identifiers, & Profiles"链接.在标识符部分找到您的应用程序 ID,然后单击编辑按钮.从那里,确保为开发和分发启用了 iCloud.

It seems like your provisioning profile is not configured to allow iCloud entitlements. To do this, log into your dev account at http://developer.apple.com, go to the iOS Dev center, and Click the link on the right for "Certificates, Identifiers, & Profiles" under the iOS Developer Program on the right. Find your app id in the Identifiers section, and click the edit button. From there, make sure iCloud is enabled for both development and distribution.

此外,请确保您的应用 ID 前缀未使用通配符.在使用任何特殊权利时,您将无法使用通配符前缀 (com.example.*),例如 iCloud、推送通知等.一旦您确定已启用 iCloud,您将需要重新生成您的配置文件.

Also, make sure your app id prefix is not using wildcards. You will not be able to use a wildcard prefix (com.example.*) when using any of the special entitlements, like iCloud, Push Notifications, etc. Once you are sure that is set up with iCloud enabled, you will need to regenerate your provisioning profile.

点击左侧的 Provisioning Profiles,找到您的应用商店配置文件.单击配置文件上的编辑按钮,选择现在启用了 iCloud 的应用程序 ID,然后单击生成"按钮以生成新的配置文件.然后下载配置文件并将其安装在旧配置文件的顶部.然后重新构建并签署应用程序,然后尝试重新提交.

Click the Provisioning Profiles on the left, and find you app store provisioning profile. Click the Edit button on the profile, select the app ID that now has iCloud enabled, and click the "Generate" button to generate a new provisioning profile. Then download the provisioning profile and install it over top of the old profile. Then re-build and sign the app and try re-submitting.

这篇关于无效的代码签名权利,向苹果提交应用程序时出错的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆